fix last refs to bootstrap-pods
This commit is contained in:
@ -121,7 +121,7 @@ func FromDir(
|
||||
}
|
||||
}
|
||||
|
||||
// cluster bootstrap pods
|
||||
// cluster static pods
|
||||
for _, host := range config.Hosts {
|
||||
bpSet := host.StaticPods
|
||||
if bpSet == "" {
|
||||
@ -133,7 +133,7 @@ func FromDir(
|
||||
}
|
||||
|
||||
templates := make([]*Template, 0)
|
||||
if err = loadTemplates(path.Join("bootstrap-pods", bpSet), &templates); err != nil {
|
||||
if err = loadTemplates(path.Join("static-pods", bpSet), &templates); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user