We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80505aa commit f1a9c63Copy full SHA for f1a9c63
pkg/pullexecutor/pullexecutor.go
@@ -75,11 +75,13 @@ func (m *PullExecutor) StartPulling(o *PullOptions) error {
75
shouldPull := o.PullAlways || !m.mounter.ImageExists(o.Context, o.NamedRef)
76
if shouldPull {
77
klog.Infof("pull image %q ", o.Image)
78
+ pullstatus.Update(o.NamedRef, pullstatus.StillPulling)
79
if err = puller.Pull(o.Context); err != nil {
80
pullstatus.Update(o.NamedRef, pullstatus.Errored)
81
return errors.Errorf("unable to pull image %q: %s", o.NamedRef, err)
82
}
83
84
+ pullstatus.Update(o.NamedRef, pullstatus.Pulled)
85
return nil
86
87
0 commit comments