cmd/list: Remove redundant initializations
Fallout from 2369da5d31
https://github.com/containers/toolbox/pull/1188
This commit is contained in:
parent
9e1cc2afaf
commit
71f73a4b31
1 changed files with 2 additions and 2 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue