diff --git a/.gitignore b/.gitignore index e660fd9..6df9c8e 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ bin/ +.idea/ diff --git a/cmd/daemon.go b/cmd/daemon.go index afa83d3..cfc3f1e 100644 --- a/cmd/daemon.go +++ b/cmd/daemon.go @@ -77,8 +77,8 @@ func (c *DaemonCmd) Help() string { helpText := ` Usage: start gourmet API handler. Options: - -debug_level=info Servert port - -port=:8000 Servert port + -debug Debug flag + -port=:8000 Server port -config=/etc/daemon.yml Configuration path ` return strings.TrimSpace(helpText) diff --git a/core/autodetect.go b/core/autodetect.go index cdac19c..30241db 100644 --- a/core/autodetect.go +++ b/core/autodetect.go @@ -20,7 +20,8 @@ import ( func Autodetect(core *Core) error { autoDetectSwarmMode(core) if len(core.Autoscalers) == 0 { - return errors.New("we didn't detect any autoscaling group") + //return errors.New("we didn't detect any autoscaling group") + logrus.Info("no autoscaling group detected for now") } return nil }