Skip to content

Commit

Permalink
Return Unimplemented status
Browse files Browse the repository at this point in the history
Signed-off-by: Fedor Korotkiy <dartslon@gmail.com>
  • Loading branch information
slon committed Sep 8, 2021
1 parent adabe88 commit a8abb3f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions plugin/storage/grpc/shared/grpc_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,11 @@ func (s *grpcServer) Close(ctx context.Context, r *storage_v1.CloseWriterRequest
if err := closer.Close(); err != nil {
return nil, err
}
}

return &storage_v1.CloseWriterResponse{}, nil
return &storage_v1.CloseWriterResponse{}, nil
} else {
return nil, status.Error(codes.Unimplemented, "span writer does not support graceful shutdown")
}
}

// GetTrace takes a traceID and streams a Trace associated with that traceID
Expand Down

0 comments on commit a8abb3f

Please sign in to comment.