mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-19 02:37:24 +08:00
Automatic merge from release/2.6.0 -> release/2.7.0
* commit '84d91f281103767b964a6b09aeba85c854a59c5e': 修正一些错误信息描述
This commit is contained in:
@@ -1091,7 +1091,7 @@ func (self *SImage) AllowPerformUpdateTorrentStatus(ctx context.Context, userCre
|
||||
func (self *SImage) PerformUpdateTorrentStatus(ctx context.Context, userCred mcclient.TokenCredential, query jsonutils.JSONObject, data jsonutils.JSONObject) (jsonutils.JSONObject, error) {
|
||||
formatStr, _ := query.GetString("format")
|
||||
if len(formatStr) == 0 {
|
||||
return nil, httperrors.NewInputParameterError("missing parameter format")
|
||||
return nil, httperrors.NewMissingParameterError("format")
|
||||
}
|
||||
subimg := ImageSubformatManager.FetchSubImage(self.Id, formatStr)
|
||||
if subimg == nil {
|
||||
|
||||
Reference in New Issue
Block a user