Message ID | 20200327184211.20917-1-ian.jackson@eu.citrix.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [OSSTEST] ts-examine-hostprops-save: Save for commissioning flights too (!) | expand |
diff --git a/ts-examine-hostprops-save b/ts-examine-hostprops-save index e50ea7fb..3995a7a7 100755 --- a/ts-examine-hostprops-save +++ b/ts-examine-hostprops-save @@ -31,8 +31,8 @@ logm("setting host properties and flags"); # NB: in order to aid debug only attempt to save the host props on flights # with intended real blessing, for the rest just do a dry run. -our $dry_run = $blessing ne "real"; -logm("not saving host props/flags with intended blessing $blessing != real") +our $dry_run = $blessing !~ qr{^real$|^commission-}; +logm("not saving host props/flags with intended blessing $blessing") if $dry_run; foreach my $k (sort keys %r) {
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com> --- ts-examine-hostprops-save | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)