Skip to content

Commit

Permalink
Config delele op should normalize config name to match create op (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielpeach committed Jul 19, 2017
1 parent 37a1fa6 commit 371fd0c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ public void deleteCanaryConfig(@RequestParam(required = false) final String acco
.getOne(resolvedAccountName)
.orElseThrow(() -> new IllegalArgumentException("No storage service was configured; unable to delete canary config."));

storageService.deleteObject(resolvedAccountName, ObjectType.CANARY_CONFIG, canaryConfigId);
storageService.deleteObject(resolvedAccountName, ObjectType.CANARY_CONFIG, canaryConfigId.toLowerCase());

response.setStatus(HttpStatus.NO_CONTENT.value());
}
Expand Down

0 comments on commit 371fd0c

Please sign in to comment.