BUGFIX: Was adding 2 Datastore columns
This commit is contained in:
parent
de1a92dec8
commit
09ac7464f5
@ -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("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)*/
|
fmt.Printf("(Ex: gocage start %s/%s)\n", jj.Datastore, j.Name)*/
|
||||||
// Add Datastore to avoid confusion
|
// Add Datastore to avoid confusion
|
||||||
|
if false == strings.Contains(gDisplayJColumns, "Datastore") {
|
||||||
gDisplayJColumns += ",Datastore"
|
gDisplayJColumns += ",Datastore"
|
||||||
gDisplaySColumns += ",Datastore"
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user