mirror of
https://github.com/spaytac/orbiter.git
synced 2026-01-21 21:34:42 +00:00
Avoiding failing with no groups
This commit is contained in:
parent
29cfd3d109
commit
23c448ebfa
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
||||
bin/
|
||||
.idea/
|
||||
|
||||
@ -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)
|
||||
|
||||
@ -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
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user