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 }