Skip to content

Commit

Permalink
Fixing demo with right properties
Browse files Browse the repository at this point in the history
  • Loading branch information
rsrinivasanNetflix committed Jun 3, 2019
1 parent 1f64b22 commit ee674c8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1214,7 +1214,7 @@ public static void main(String args[]) throws IOException {
"MUST set local for load balancing OR set the load balancing strategy to round robin");
}

String rack = props.getProperty("EC2_AVAILABILITY_ZONE", null);
String rack = props.getProperty("EC2_AVAILABILITY_ZONE", "us-east-1c");
String hostsFile = props.getProperty("dyno.demo.hostsFile");
String shadowHostsFile = props.getProperty("dyno.demo.shadowHostsFile");
int port = Integer.valueOf(props.getProperty("dyno.demo.port", "8102"));
Expand Down
5 changes: 2 additions & 3 deletions dyno-demo/src/main/resources/demo.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@
## Properties to initialize the demo app
#
LOCAL_DATACENTER=us-east-1
#LOCAL_RACK=us-east-1e
LOCAL_RACK=us-east-1e
NETFLIX_STACK=dyno_demo
#EC2_AVAILABILITY_ZONE=us-east-1
dyno.demo.lbStrategy=TokenAware
EC2_AVAILABILITY_ZONE=us-east-1c
netflix.appinfo.name=dyno_demo
netflix.environment=test
netflix.appinfo.metadata.enableRoute53=false
Expand Down

0 comments on commit ee674c8

Please sign in to comment.