zrepl test filesystems: support snap job type

This commit is contained in:
Christian Schwarz 2020-02-17 17:56:48 +01:00
parent 02b3b4f80c
commit a3842155c5

View File

@ -60,6 +60,8 @@ func runTestFilterCmd(subcommand *cli.Subcommand, args []string) error {
confFilter = j.Filesystems
case *config.PushJob:
confFilter = j.Filesystems
case *config.SnapJob:
confFilter = j.Filesystems
default:
return fmt.Errorf("job type %T does not have filesystems filter", j)
}