disks: zfs: scan is only returned optionally
the line is not present if a zpool has never been scrubbed before (e.g. if it's freshly setup) Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
This commit is contained in:
committed by
Thomas Lamprecht
parent
c726ce1705
commit
977b80c8ab
@ -163,6 +163,7 @@ __PACKAGE__->register_method ({
|
||||
description => 'Information about the recommended action to fix the state.',
|
||||
},
|
||||
scan => {
|
||||
optional => 1,
|
||||
type => 'string',
|
||||
description => 'Information about the last/current scrub.',
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user