From bf44168ac2d47ce60fd24be926b5a8915b13164e Mon Sep 17 00:00:00 2001 From: Gianluca Arbezzano Date: Tue, 8 Aug 2017 22:20:00 +0200 Subject: [PATCH] fixed autodetect suffix --- README.md | 2 +- contrib/swarm/Makefile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 45f288b..159b338 100644 --- a/README.md +++ b/README.md @@ -111,7 +111,7 @@ Let's say that you started a service: docker service create --label orbiter=true --name web -p 80:80 nginx ``` When you start orbiter, it's going to auto-register an autoscaler called -`autodetect_swarm/web`. By default up and down are set to 1 but you can override +`autoswarm/web`. By default up and down are set to 1 but you can override them with the label `orbiter.up=3` and `orbiter.down=2`. This calability allow you to istantiate orbiter in an extremely easy way in diff --git a/contrib/swarm/Makefile b/contrib/swarm/Makefile index 20a6516..cecd7ea 100644 --- a/contrib/swarm/Makefile +++ b/contrib/swarm/Makefile @@ -9,6 +9,6 @@ ps: docker service ls docker stack ps stack scale-up: - curl -X POST -v http://$(IP):8081/handle/autodetect_swarm/stack_micro/up + curl -X POST -v http://$(IP):8081/handle/autoswarm/stack_micro/up scale-down: - curl -X POST -v http://$(IP):8081/handle/autodetect_swarm/stack_micro/down + curl -X POST -v http://$(IP):8081/handle/autoswarm/stack_micro/down