enh(netapp/ontap): snapmirrors mode - undefined transfer_state (#2985)
This commit is contained in:
parent
02d55a8019
commit
a361355644
|
@ -91,7 +91,7 @@ sub manage_selection {
|
||||||
display => $name,
|
display => $name,
|
||||||
healthy => $_->{healthy} =~ /true|1/i ? 'true' : 'false',
|
healthy => $_->{healthy} =~ /true|1/i ? 'true' : 'false',
|
||||||
state => $_->{state},
|
state => $_->{state},
|
||||||
transfer_state => $_->{transfer}->{state}
|
transfer_state => defined($_->{transfer}->{state}) ? $_->{transfer}->{state} : 'n/a'
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue