Skip to content

Commit

Permalink
crictl images -v prints Pinned when image is pinned
Browse files Browse the repository at this point in the history
Signed-off-by: Iceber Gu <caiwei95@hotmail.com>
  • Loading branch information
Iceber committed Aug 21, 2023
1 parent 28f1423 commit 25ae10a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmd/crictl/image.go
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,9 @@ var listImageCommand = &cli.Command{
if image.Username != "" {
fmt.Printf("Username: %v\n", image.Username)
}
if image.Pinned {
fmt.Printf("Pinned: %v\n", image.Pinned)
}
fmt.Printf("\n")
}
display.Flush()
Expand Down

0 comments on commit 25ae10a

Please sign in to comment.