Update snapshot parent filter property to always exist
The parent property may be empty but always exists. Signed-off-by: Derek McGowan <derek@mcgstyle.net>
This commit is contained in:
@@ -1061,7 +1061,7 @@ func checkWalk(ctx context.Context, t *testing.T, snapshotter snapshots.Snapshot
|
||||
},
|
||||
{
|
||||
matches: []string{"a", "v", "a-wl", "v-wl"},
|
||||
filters: []string{"parent,labels.\"containerd.io/gc.root\"==check-walk"},
|
||||
filters: []string{"parent!=\"\",labels.\"containerd.io/gc.root\"==check-walk"},
|
||||
},
|
||||
{
|
||||
matches: []string{"p-wl", "a-wl", "v-wl", "a-np-wl"},
|
||||
|
||||
Reference in New Issue
Block a user