Skip to content
This repository has been archived by the owner on Jan 4, 2022. It is now read-only.

Commit

Permalink
lowercase region and env in portRule for network policy
Browse files Browse the repository at this point in the history
  • Loading branch information
kinarashah authored and Alena Prokharchyk committed Mar 15, 2018
1 parent 9d20a90 commit 822456a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ public MetadataPortRule(PortRule portRule, Service service, Stack stack, boolean
this.backend_name = portRule.getBackendName();
this.priority = portRule.getPriority();
this.selector = portRule.getSelector();
this.region = portRule.getRegion();
this.environment = portRule.getEnvironment();
this.region = StringUtils.lowerCase(portRule.getRegion());
this.environment = StringUtils.lowerCase(portRule.getEnvironment());
this.weight = portRule.getWeight();
if (this.weight == null && defaultWeight) {
this.weight = 1;
Expand Down

0 comments on commit 822456a

Please sign in to comment.