Skip to content

Commit 83e50cc

Browse files
committed
Merge pull request #2098 from cleblanc87/master
fix(Makefile): fix multiple make discovery-url runs
2 parents d9dd781 + 33992b8 commit 83e50cc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ dev-registry: check-docker
1717
@echo " export DEV_REGISTRY=`boot2docker ip 2>/dev/null`:5000"
1818

1919
discovery-url:
20-
sed -e "s,# discovery: https://discovery.etcd.io/12345693838asdfasfadf13939923,discovery: $$(curl -s -w '\n' https://discovery.etcd.io/new)," contrib/coreos/user-data > contrib/coreos/user-data.new
20+
sed -e "s,# discovery:,discovery:," -e "s,discovery: https://discovery.etcd.io/.*,discovery: $$(curl -s -w '\n' https://discovery.etcd.io/new)," contrib/coreos/user-data > contrib/coreos/user-data.new
2121
mv contrib/coreos/user-data.new contrib/coreos/user-data
2222

2323
build: check-docker

0 commit comments

Comments
 (0)