Move config objects to configuration.go
This commit is contained in:
parent
46d7cc83c9
commit
1fdff9dae4
2 changed files with 7 additions and 7 deletions
|
@ -103,3 +103,10 @@ func NewLoadBalancerMethod(loadBalancer *LoadBalancer) (LoadBalancerMethod, erro
|
||||||
}
|
}
|
||||||
|
|
||||||
var ErrInvalidLoadBalancerMethod = errors.New("Invalid method, using default")
|
var ErrInvalidLoadBalancerMethod = errors.New("Invalid method, using default")
|
||||||
|
|
||||||
|
type configMessage struct {
|
||||||
|
providerName string
|
||||||
|
configuration *Configuration
|
||||||
|
}
|
||||||
|
|
||||||
|
type configs map[string]*Configuration
|
||||||
|
|
|
@ -43,13 +43,6 @@ var (
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
|
|
||||||
type configMessage struct {
|
|
||||||
providerName string
|
|
||||||
configuration *Configuration
|
|
||||||
}
|
|
||||||
|
|
||||||
type configs map[string]*Configuration
|
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
runtime.GOMAXPROCS(runtime.NumCPU())
|
runtime.GOMAXPROCS(runtime.NumCPU())
|
||||||
kingpin.Version(Version + " built on the " + BuildDate)
|
kingpin.Version(Version + " built on the " + BuildDate)
|
||||||
|
|
Loading…
Reference in a new issue