Skip to content

Commit 8dc6205

Browse files
committed
ex: dockergc: make gc pass failure non-fatal
1 parent 0099b1a commit 8dc6205

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/oc/experimental/dockergc/dockergc.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ func Run(f *clientcmd.Factory, options *dockerGCConfigCmdOptions, cmd *cobra.Com
264264
for {
265265
err := doGarbageCollection(client, options, rootDir)
266266
if err != nil {
267-
return err
267+
glog.Errorf("garbage collection attempt failed: %v", err)
268268
}
269269
if options.DryRun {
270270
return nil

0 commit comments

Comments
 (0)