Add 3 FIXMEs

This commit is contained in:
Vitaliy Filippov 2021-07-19 17:17:51 +03:00
parent ff72c3ce16
commit 0bb71bb573
3 changed files with 3 additions and 0 deletions

View file

@ -125,6 +125,7 @@ func (cs *controllerServer) DeleteVolume(ctx context.Context, req *csi.DeleteVol
return nil, fmt.Errorf("failed to initialize S3 client: %s", err)
}
// FIXME Don't delete the bucket if it existed initially
var deleteErr error
if prefix == "" {
// prefix is empty, we delete the whole bucket