[#1238] Call String() explicitly instead of using stringer pointer

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
Alex Vanin 2022-03-16 15:18:56 +03:00 committed by Alex Vanin
parent 8f476f3c4d
commit 362cda53d2
5 changed files with 7 additions and 7 deletions

View file

@ -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())
}
}