File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
api/src/main/java/org/apache/cloudstack/api/command/admin/config Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change 3333import org .apache .cloudstack .api .response .StoragePoolResponse ;
3434import org .apache .cloudstack .api .response .ZoneResponse ;
3535import org .apache .cloudstack .config .Configuration ;
36+ import org .apache .cloudstack .framework .config .ConfigKey ;
3637import org .apache .commons .lang3 .StringUtils ;
3738
3839import com .cloud .user .Account ;
@@ -203,6 +204,9 @@ public ConfigurationResponse setResponseScopes(ConfigurationResponse response) {
203204 if (getDomainId () != null ) {
204205 response .setScope ("domain" );
205206 }
207+ if (getManagementServerId () != null ) {
208+ response .setScope (ConfigKey .Scope .ManagementServer .name ().toLowerCase ());
209+ }
206210 return response ;
207211 }
208212}
You can’t perform that action at this time.
0 commit comments