mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
Merge pull request #4383 from ioito/bugfix/qx-cloudaccount-update
fix: 修复接收参数异常问题
This commit is contained in:
@@ -441,7 +441,7 @@ func (self *SCloudaccount) PerformUpdateCredential(ctx context.Context, userCred
|
||||
}
|
||||
|
||||
input := cloudprovider.SCloudaccountCredential{}
|
||||
err = data.Unmarshal(input)
|
||||
err = data.Unmarshal(&input)
|
||||
if err != nil {
|
||||
return nil, httperrors.NewInputParameterError("failed to unmarshal input params: %v", err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user