splitted one operator module to file, account, image operators; splitted operator functions; etc
This commit is contained in:
@@ -49,7 +49,7 @@ func (util *FileUtil) listCollections(common *CommonFileParams, params *ListColl
|
||||
return res, err
|
||||
}
|
||||
ref.SetUserinfo(common.Username, common.Password)
|
||||
ref.PathType(pathType(params.Regexp, params.Prefix))
|
||||
ref.PathType(pathType(params.Regexp, params.Prefix))
|
||||
mw := filecli.NewBasicAuthMiddleware(ref.Userinfo())
|
||||
cli := filecli.NewClient(nil, mw)
|
||||
list, err := cli.ListCollections(ctx, ref.Raw())
|
||||
|
||||
Reference in New Issue
Block a user