Forgot to write bootstrap to data dir during reload
This commit is contained in:
parent
0b094f057e
commit
a153911948
@ -71,6 +71,11 @@ func reloadBootstrap(
|
|||||||
}
|
}
|
||||||
|
|
||||||
hostBootstrap.Hosts = newHosts
|
hostBootstrap.Hosts = newHosts
|
||||||
|
|
||||||
|
if err := writeBootstrapToDataDir(hostBootstrap); err != nil {
|
||||||
|
return bootstrap.Bootstrap{}, false, fmt.Errorf("writing new bootstrap to data dir: %w", err)
|
||||||
|
}
|
||||||
|
|
||||||
return hostBootstrap, true, nil
|
return hostBootstrap, true, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user