mirror of https://github.com/status-im/consul.git
Used 'unconvert' to remove unneeded conversions
I've removed unneeded conversions by performing the following commands: $ go get -u github.com/mdempsky/unconvert $ go list ./... | grep -v vendor | xargs unconvert -apply Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
This commit is contained in:
parent
6b2ace6f6b
commit
615c93a77d
|
@ -108,7 +108,7 @@ func (c *MembersCommand) Run(args []string) int {
|
||||||
|
|
||||||
// Generate the columnized version
|
// Generate the columnized version
|
||||||
output := columnize.SimpleFormat(result)
|
output := columnize.SimpleFormat(result)
|
||||||
c.Ui.Output(string(output))
|
c.Ui.Output(output)
|
||||||
|
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
|
@ -384,7 +384,7 @@ func (s *TestServer) GetKV(key string) []byte {
|
||||||
s.t.Fatalf("err: %s", err)
|
s.t.Fatalf("err: %s", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
return []byte(v)
|
return v
|
||||||
}
|
}
|
||||||
|
|
||||||
// PopulateKV fills the Consul KV with data from a generic map.
|
// PopulateKV fills the Consul KV with data from a generic map.
|
||||||
|
|
Loading…
Reference in New Issue