Skip snapshot removal on windows
Windows snapshotter is not yet implemented
@@ -2,6 +2,7 @@ package main
import (
gocontext "context"
+ "runtime"
"google.golang.org/grpc"
"google.golang.org/grpc/codes"
@@ -53,9 +54,11 @@ var deleteCommand = cli.Command{
}
}
+ if runtime.GOOS != "windows" {
if err := snapshotter.Remove(ctx, id); err != nil {
return errors.Wrapf(err, "failed to remove snapshot %q", id)
}
+ }
return nil
},
