log oops
This commit is contained in:
@ -28,10 +28,11 @@ func (hft HostFromTemplate) ClusterName(cfg *localconfig.Config) string {
|
|||||||
func hostOrTemplate(cfg *localconfig.Config, name string) (host *localconfig.Host) {
|
func hostOrTemplate(cfg *localconfig.Config, name string) (host *localconfig.Host) {
|
||||||
host = cfg.Host(name)
|
host = cfg.Host(name)
|
||||||
if host != nil {
|
if host != nil {
|
||||||
log.Print("no host named ", name)
|
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
log.Print("no host named ", name)
|
||||||
|
|
||||||
hft, found, err := hostsFromTemplate.Get(name)
|
hft, found, err := hostsFromTemplate.Get(name)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Print("failed to read store: ", err)
|
log.Print("failed to read store: ", err)
|
||||||
|
Reference in New Issue
Block a user