wrong tag used for zfs managed detection
This commit is contained in:
parent
da53fcf8b5
commit
f51d7f4f51
@ -1,7 +1,7 @@
|
||||
// Code generated by version.sh (@generated) DO NOT EDIT.
|
||||
package main
|
||||
var githash = "4a0f110"
|
||||
var githash = "da53fcf"
|
||||
var branch = "v2"
|
||||
var buildstamp = "2023-07-31_09:15:54"
|
||||
var commits = "72"
|
||||
var version = "4a0f110-b72 - 2023-07-31_09:15:54"
|
||||
var buildstamp = "2023-07-31_09:23:23"
|
||||
var commits = "73"
|
||||
var version = "da53fcf-b73 - 2023-07-31_09:23:23"
|
||||
|
2
zfs.go
2
zfs.go
@ -130,7 +130,7 @@ func (z *BoxZfs) Open() error {
|
||||
log.WithFields(log.Fields{"name": z.box.name, "zfs-fs": rec[0], "zfs-value": rec[1]}).Debugf("zfs get " + zfsManagedPropertyName)
|
||||
|
||||
if fs, ok := z.filesystems[rec[0]]; ok {
|
||||
if rec[1] == "true" {
|
||||
if rec[1] == "+" {
|
||||
fs.managed = true
|
||||
log.WithFields(log.Fields{"name": z.box.name, "zfs-fs": rec[0], "zfs-value": rec[1]}).Infof("managed fs")
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user