mirror of
https://github.com/status-im/consul.git
synced 2025-01-14 07:44:50 +00:00
Merge pull request #1848 from mssola/unconvert
Used 'unconvert' to remove unneeded conversions
This commit is contained in:
commit
f2740b447d
@ -108,7 +108,7 @@ func (c *MembersCommand) Run(args []string) int {
|
||||
|
||||
// Generate the columnized version
|
||||
output := columnize.SimpleFormat(result)
|
||||
c.Ui.Output(string(output))
|
||||
c.Ui.Output(output)
|
||||
|
||||
return 0
|
||||
}
|
||||
|
@ -384,7 +384,7 @@ func (s *TestServer) GetKV(key string) []byte {
|
||||
s.t.Fatalf("err: %s", err)
|
||||
}
|
||||
|
||||
return []byte(v)
|
||||
return v
|
||||
}
|
||||
|
||||
// PopulateKV fills the Consul KV with data from a generic map.
|
||||
|
Loading…
x
Reference in New Issue
Block a user