Skip to content

Commit

Permalink
debug zfs docker
Browse files Browse the repository at this point in the history
  • Loading branch information
Equanox committed Jan 13, 2023
1 parent 1c40c13 commit e94249b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/dockermobyutil/registry.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,13 @@ func (r *R) ImageExists(image string) (bool, error) {
}

func (r *R) ImageHash(image string) (string, error) {
r.mutex.Lock()
//r.mutex.Lock()
summaries, err := r.client.ImageList(context.Background(), types.ImageListOptions{All: false})
if err != nil {
r.mutex.Unlock()
//r.mutex.Unlock()
return "", err
}
r.mutex.Unlock()
//r.mutex.Unlock()

var selected types.ImageSummary
for _, s := range summaries {
Expand Down

0 comments on commit e94249b

Please sign in to comment.