Skip to content

Commit

Permalink
Merge pull request kelseyhightower#630 from opera443399/fix-integrati…
Browse files Browse the repository at this point in the history
…on-etcd-curl-err

fix(confd): etcd curl err when make integration
  • Loading branch information
okushchenko authored Nov 10, 2017
2 parents c7e0da1 + 0c3e452 commit f711530
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions integration/etcd/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ curl -L -X PUT http://127.0.0.1:2379/v2/keys/database/username -d value=confd
curl -L -X PUT http://127.0.0.1:2379/v2/keys/upstream/app1 -d value=10.0.1.10:8080
curl -L -X PUT http://127.0.0.1:2379/v2/keys/upstream/app2 -d value=10.0.1.11:8080
curl -L -X PUT http://127.0.0.1:2379/v2/keys/nested/east/app1 -d value=10.0.1.10:8080
curl -L -X PUT http://127.0.0.1:2379/v2/keys/nested/west/app2 value=10.0.1.11:8080
curl -L -X PUT http://127.0.0.1:2379/v2/keys/nested/west/app2 -d value=10.0.1.11:8080
curl -L -X PUT http://127.0.0.1:2379/v2/keys/prefix/database/host -d value=127.0.0.1
curl -L -X PUT http://127.0.0.1:2379/v2/keys/prefix/database/password -d value=p@sSw0rd
curl -L -X PUT http://127.0.0.1:2379/v2/keys/prefix/database/port -d value=3306
curl -L -X PUT http://127.0.0.1:2379/v2/keys/prefix/database/username -d value=confd
curl -L -X PUT http://127.0.0.1:2379/v2/keys/prefix/upstream/app1 -d value=10.0.1.10:8080
curl -L -X PUT http://127.0.0.1:2379/v2/keys/prefix/upstream/app2 -d value=10.0.1.11:8080
curl -L -X PUT http://127.0.0.1:2379/v2/keys/prefix/nested/east/app1 -d value=10.0.1.10:8080
curl -L -X PUT http://127.0.0.1:2379/v2/keys/prefix/nested/west/app2 value=10.0.1.11:8080
curl -L -X PUT http://127.0.0.1:2379/v2/keys/prefix/nested/west/app2 -d value=10.0.1.11:8080


# Run confd
Expand Down

0 comments on commit f711530

Please sign in to comment.