splitted one operator module to file, account, image operators; splitted operator functions; etc
This commit is contained in:
@@ -54,8 +54,8 @@ func (util *FileUtil) deleteCollection(common *CommonFileParams, params *DeleteC
|
||||
}
|
||||
ref.SetUserinfo(common.Username, common.Password)
|
||||
mw := filecli.NewBasicAuthMiddleware(ref.Userinfo())
|
||||
ref.PathType(pathType(params.Regexp, params.Prefix))
|
||||
ref.DryRun(params.DryRun)
|
||||
ref.PathType(pathType(params.Regexp, params.Prefix))
|
||||
ref.DryRun(params.DryRun)
|
||||
cli := filecli.NewClient(nil, mw)
|
||||
list, err := cli.DeleteCollection(ctx, ref.Raw())
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user