Merge pull request #5680 from ioito/automated-cherry-pick-of-#5679-upstream-release-3.1

Automated cherry pick of #5679: fix: typo
This commit is contained in:
yunion-ci-robot
2020-04-02 18:54:51 +08:00
committed by GitHub
+1 -1
View File
@@ -435,7 +435,7 @@ func init() {
return nil
})
R(&options.SOpenStackCloudAccountUpdateOptions{}, "cloud-account-update-openstack", "update an AWS cloud account", func(s *mcclient.ClientSession, args *options.SOpenStackCloudAccountUpdateOptions) error {
R(&options.SOpenStackCloudAccountUpdateOptions{}, "cloud-account-update-openstack", "update an OpenStack cloud account", func(s *mcclient.ClientSession, args *options.SOpenStackCloudAccountUpdateOptions) error {
params := jsonutils.Marshal(args).(*jsonutils.JSONDict)
if params.Size() == 0 {
return InvalidUpdateError()