Commit Graph

4 Commits

Author SHA1 Message Date
Chris Evich 68395f9beb
fix staticcheck linter warning for deprecated function
Port of fix from podman-land:
62f4ae98fb

Thanks to pholzing@redhat.com for figuring this out.

[NO NEW TESTS NEEDED]

Signed-off-by: Chris Evich <cevich@redhat.com>
2022-04-28 10:37:33 -04:00
Nalin Dahyabhai 1ec4983d50 Replace golang.org/x/crypto/ssh/terminal with golang.org/x/term
The golang.org/x/crypto/ssh/terminal package has been deprecated and
replaced upstream by golang.org/x/term, so switch to that.  It's a
simple 1:1 replacement.

[NO NEW TESTS NEEDED]

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2021-08-24 15:35:12 -04:00
Nalin Dahyabhai b39191d960 images: suppress a spurious blank line with no images
When listing images when there are no images, avoid outputting an
unnecessary newline.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>

Closes: #1418
Approved by: TomSweeneyRedHat
2019-03-20 08:26:45 +00:00
Qi Wang a9f718beb1 fix bug images use the template to print results
Signed-off-by: Qi Wang <qiwan@redhat.com>
2019-03-12 09:46:18 -04:00