From 8bf8e2b975e6e280b5159a121379609e66c346f0 Mon Sep 17 00:00:00 2001 From: Rodrigo Campos Date: Tue, 19 Sep 2023 14:27:04 +0200 Subject: [PATCH] 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 --- snapshotter_opts_unix.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/snapshotter_opts_unix.go b/snapshotter_opts_unix.go index d0f208d90..ac970219e 100644 --- a/snapshotter_opts_unix.go +++ b/snapshotter_opts_unix.go @@ -26,7 +26,7 @@ import ( ) const ( - capabRemapIDs = "remap-ids" + capaRemapIDs = "remap-ids" capaOnlyRemapIds = "only-remap-ids" ) @@ -46,7 +46,7 @@ func resolveSnapshotOptions(ctx context.Context, client *Client, snapshotterName } for _, capab := range capabs { - if capab == capabRemapIDs { + if capab == capaRemapIDs { // Snapshotter supports ID remapping, we don't need to do anything. return parent, nil }