Merge pull request #1016 from unistack-org/lint

lint fixes mostly for prealloc also remove deadcode from grpc client
This commit is contained in:
Asim Aslam
2019-12-05 08:33:52 +00:00
committed by GitHub
41 changed files with 76 additions and 80 deletions

View File

@@ -195,6 +195,7 @@ func (n *network) resolveNodes() ([]string, error) {
nodeMap := make(map[string]bool)
// collect network node addresses
//nolint:prealloc
var nodes []string
var i int