mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-10-25 10:16:12 +08:00
return err
This commit is contained in:
@@ -114,7 +114,7 @@ func (manager *SCloudaccountManager) ValidateCreateData(ctx context.Context, use
|
||||
return nil, httperrors.NewResourceNotFoundError("no such provider %s", provider)
|
||||
}
|
||||
log.Debugf("ValidateCreateData %s", err.Error())
|
||||
return nil, httperrors.NewInvalidCredentialError("invalid cloud account info")
|
||||
return nil, httperrors.NewInputParameterError("invalid cloud account info")
|
||||
}
|
||||
|
||||
return manager.SEnabledStatusStandaloneResourceBaseManager.ValidateCreateData(ctx, userCred, ownerProjId, query, data)
|
||||
|
||||
Reference in New Issue
Block a user