preliminary multi-net support
This commit is contained in:
@ -148,9 +148,9 @@ func updateState() {
|
||||
hosts = append(hosts, h)
|
||||
}
|
||||
|
||||
hostTemplates := make([]string, 0, len(cfg.HostTemplates))
|
||||
for _, ht := range cfg.HostTemplates {
|
||||
hostTemplates = append(hostTemplates, ht.Name)
|
||||
hostTemplates := make([]string, len(cfg.HostTemplates))
|
||||
for i, ht := range cfg.HostTemplates {
|
||||
hostTemplates[i] = ht.Name
|
||||
}
|
||||
|
||||
// done
|
||||
|
Reference in New Issue
Block a user