Comment DEBUG printf
This commit is contained in:
parent
2ddf51f887
commit
09b807c78e
@ -35,7 +35,7 @@ func DestroyJails(args []string) {
|
||||
fmt.Printf("Error getting root dataset: %s\n", err)
|
||||
return
|
||||
}
|
||||
fmt.Printf("DEBUG: Prepare to zfs destroy %s\n", dsRootName)
|
||||
//fmt.Printf("DEBUG: Prepare to zfs destroy %s\n", dsRootName)
|
||||
if err = zfsDestroy(dsRootName); err != nil {
|
||||
fmt.Printf("Error deleting root dataset: %s\n", err)
|
||||
return
|
||||
@ -46,7 +46,7 @@ func DestroyJails(args []string) {
|
||||
fmt.Printf("Error getting config dataset: %s\n", err)
|
||||
return
|
||||
}
|
||||
fmt.Printf("DEBUG: Prepare to zfs destroy %s\n", dsConfName)
|
||||
//fmt.Printf("DEBUG: Prepare to zfs destroy %s\n", dsConfName)
|
||||
if err = zfsDestroy(dsConfName); err != nil {
|
||||
fmt.Printf("Error deleting config dataset: %s\n", err)
|
||||
return
|
||||
|
@ -297,7 +297,7 @@ func StopJail(args []string) {
|
||||
|
||||
// This is working in this context, but value is not available in WriteConfigToDisk context :/
|
||||
setStructFieldValue(cj, "Config.Release", cvers)
|
||||
fmt.Printf("DEBUG: release was set, now is : %s\n", cj.Config.Release)
|
||||
//fmt.Printf("DEBUG: release was set, now is : %s\n", cj.Config.Release)
|
||||
|
||||
// We need to get the real Config object, not a copy of it
|
||||
|
||||
@ -465,7 +465,7 @@ func StopJail(args []string) {
|
||||
}
|
||||
}
|
||||
|
||||
fmt.Printf("DEBUG: release = %s\n", cj.Config.Release)
|
||||
//fmt.Printf("DEBUG: release = %s\n", cj.Config.Release)
|
||||
WriteConfigToDisk(cj.Name, false, true)
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user