cmd/list: Remove redundant initializations

Fallout from 2369da5d31

https://github.com/containers/toolbox/pull/1188
This commit is contained in:
Debarshi Ray 2022-12-05 22:17:51 +01:00
parent 9e1cc2afaf
commit 71f73a4b31

View file

@ -142,7 +142,7 @@ func getContainers() ([]toolboxContainer, error) {
for _, container := range containers {
var c toolboxContainer
var isToolboxContainer bool = false
var isToolboxContainer bool
containerJSON, err := json.Marshal(container)
if err != nil {
@ -205,7 +205,7 @@ func getImages() ([]toolboxImage, error) {
for _, image := range images {
var i toolboxImage
var isToolboxImage bool = false
var isToolboxImage bool
imageJSON, err := json.Marshal(image)
if err != nil {