mirror of https://github.com/apache/cloudstack.git
fix updateconfiguration response scope
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
This commit is contained in:
parent
830044d88f
commit
0c83842fab
|
|
@ -33,6 +33,7 @@ import org.apache.cloudstack.api.response.ManagementServerResponse;
|
|||
import org.apache.cloudstack.api.response.StoragePoolResponse;
|
||||
import org.apache.cloudstack.api.response.ZoneResponse;
|
||||
import org.apache.cloudstack.config.Configuration;
|
||||
import org.apache.cloudstack.framework.config.ConfigKey;
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
|
||||
import com.cloud.user.Account;
|
||||
|
|
@ -203,6 +204,9 @@ public class UpdateCfgCmd extends BaseCmd {
|
|||
if (getDomainId() != null) {
|
||||
response.setScope("domain");
|
||||
}
|
||||
if (getManagementServerId() != null) {
|
||||
response.setScope(ConfigKey.Scope.ManagementServer.name().toLowerCase());
|
||||
}
|
||||
return response;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue