forked from TrueCloudLab/frostfs-node
[#1238] Call String()
explicitly instead of using stringer pointer
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
parent
8f476f3c4d
commit
362cda53d2
5 changed files with 7 additions and 7 deletions
|
@ -602,7 +602,7 @@ func getSessionToken(path string) (*session.Token, error) {
|
|||
|
||||
func prettyPrintContainerList(cmd *cobra.Command, list []cid.ID) {
|
||||
for i := range list {
|
||||
cmd.Println(&list[i]) // stringer defined on pointer
|
||||
cmd.Println(list[i].String())
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue