Skip to content

Commit

Permalink
Merge pull request #480 from oetiker/fix_regression_479
Browse files Browse the repository at this point in the history
fix for regression introduced by 60e7afe as mentioned in #479
  • Loading branch information
oetiker authored Mar 2, 2020
2 parents 2134114 + 7629a02 commit df62921
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,11 @@ name: Test
on:
push:
branches:
- "*"
- master
tags-ignore:
- "*"
pull_request:
types: [opened, reopened]


jobs:
unit:
runs-on: ubuntu-latest
Expand Down
11 changes: 0 additions & 11 deletions lib/ZnapZend/Config.pm
Original file line number Diff line number Diff line change
Expand Up @@ -89,17 +89,6 @@ my $checkBackupSets = sub {
next;
}

if ( $dataSet =~ m/[\@]/ ) {
# If we are here, somebody fed us a snapshot in the list of
# datasets, which is likely a bug elsewhere in discovery.
# We do not want to fail whole backup below due to faulted
# dataSetExists() below, so just ignore this entry.
# If we really do get here, take a hard look at recursive
# and/or inherited modes for run-once.
print STDERR "#checkBackupSets# SKIP $backupSet->{src} because it is not a filesystem,volume. BUG: Should not get here.\n";# if $self->debug;
next;
}

for my $prop (keys %{$self->mandProperties}){
exists $backupSet->{$prop} || do {
$self->zLog->info("WARNING: property $prop not set on backup for " . $backupSet->{src} . ". Skipping to next dataset");
Expand Down

0 comments on commit df62921

Please sign in to comment.