snapshotter: Use capa prefix consistently for capabilities

The overlay snapshotter is using capa, not capab, let's use that in all
the palces.

Signed-off-by: Rodrigo Campos <rodrigoca@microsoft.com>
This commit is contained in:
Rodrigo Campos 2023-09-19 14:27:04 +02:00
parent ec9e0dca91
commit 8bf8e2b975

View File

@ -26,7 +26,7 @@ import (
) )
const ( const (
capabRemapIDs = "remap-ids" capaRemapIDs = "remap-ids"
capaOnlyRemapIds = "only-remap-ids" capaOnlyRemapIds = "only-remap-ids"
) )
@ -46,7 +46,7 @@ func resolveSnapshotOptions(ctx context.Context, client *Client, snapshotterName
} }
for _, capab := range capabs { for _, capab := range capabs {
if capab == capabRemapIDs { if capab == capaRemapIDs {
// Snapshotter supports ID remapping, we don't need to do anything. // Snapshotter supports ID remapping, we don't need to do anything.
return parent, nil return parent, nil
} }