Skip to content
Snippets Groups Projects
Commit e4e5e3c1 authored by Robert Fratto's avatar Robert Fratto
Browse files

ingester: fix feedback from PR review

parent 15cbba72
No related branches found
No related tags found
No related merge requests found
......@@ -173,7 +173,7 @@ func (i *Ingester) Push(ctx context.Context, req *logproto.PushRequest) (*logpro
func (i *Ingester) getOrCreateInstance(instanceID string) *instance {
inst, ok := i.getInstanceByID(instanceID)
if ok || i.readonly {
if ok {
return inst
}
......
......@@ -29,7 +29,7 @@ var (
})
)
// TransferChunks receieves all chunks from another ingester. The Ingester
// TransferChunks receives all chunks from another ingester. The Ingester
// must be in PENDING state or else the call will fail.
func (i *Ingester) TransferChunks(stream logproto.Ingester_TransferChunksServer) error {
// Entry JOINING state (only valid from PENDING)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment