Skip to content

Commit 217ebf2

Browse files
author
Kishan Kavala
committed
CLOUDSTACK-1717, CLOUDSTACK-1718: Corrected RemoveRegion response. Removed /api in Local region end_point
1 parent c02ab3f commit 217ebf2

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎api/src/org/apache/cloudstack/api/command/admin/region/RemoveRegionCmd.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
@APICommand(name = "removeRegion", description="Removes specified region", responseObject=SuccessResponse.class)
3434
public class RemoveRegionCmd extends BaseCmd {
3535
public static final Logger s_logger = Logger.getLogger(RemoveRegionCmd.class.getName());
36-
private static final String s_name = "updateregionresponse";
36+
private static final String s_name = "removeregionresponse";
3737

3838
/////////////////////////////////////////////////////
3939
//////////////// API parameters /////////////////////

‎setup/db/db/schema-40to410.sql‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ CREATE TABLE `cloud`.`region` (
261261
PRIMARY KEY (`id`)
262262
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
263263

264-
INSERT INTO `cloud`.`region` values ('1','Local','http://localhost:8080/client/api');
264+
INSERT INTO `cloud`.`region` values ('1','Local','http://localhost:8080/client');
265265

266266
INSERT IGNORE INTO `cloud`.`configuration` VALUES ('Account Defaults', 'DEFAULT', 'management-server', 'max.account.cpus', '40', 'The default maximum number of cpu cores that can be used for an account');
267267

0 commit comments

Comments
 (0)