jpictl: only load Machine.PublicAddresses for jpictl dump

Signed-off-by: Alejandro Mery <amery@jpi.io>
This commit is contained in:
2023-08-28 15:48:38 +00:00
parent 94daf5ad59
commit 6e46d23b45
4 changed files with 7 additions and 5 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ var writeCmd = &cobra.Command{
Use: "write",
Short: "rewrites all config files",
RunE: func(_ *cobra.Command, _ []string) error {
m, err := cfg.LoadZones()
m, err := cfg.LoadZones(false)
if err != nil {
return err
}