BUGFIX: Was adding 2 Datastore columns

This commit is contained in:
yo 2022-07-10 21:26:54 +02:00
parent de1a92dec8
commit 09ac7464f5

View File

@ -292,8 +292,9 @@ func listJailsFromDirectory(dir string, dsname string) ([]Jail, error) {
/*fmt.Printf("Warning: A jail with name %s exist on datastore %s, use full name to interact!\n", j.Name, jj.Datastore)
fmt.Printf("(Ex: gocage start %s/%s)\n", jj.Datastore, j.Name)*/
// Add Datastore to avoid confusion
gDisplayJColumns += ",Datastore"
gDisplaySColumns += ",Datastore"
if false == strings.Contains(gDisplayJColumns, "Datastore") {
gDisplayJColumns += ",Datastore"
}
}
}