Verify interface compliance using typed nil instead of dereferencing and conversion (#7489)

Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
This commit is contained in:
Victor Farazdagi
2020-10-10 03:36:48 +03:00
committed by GitHub
parent 8aaa5b6ad0
commit d98a6dda8f
30 changed files with 37 additions and 37 deletions

View File

@@ -4,4 +4,4 @@ import (
pb "github.com/prysmaticlabs/prysm/proto/cluster"
)
var _ = pb.PrivateKeyServiceServer(&server{})
var _ pb.PrivateKeyServiceServer = (*server)(nil)