Rename variables and snapshotter option to resolve lint warnings

Signed-off-by: Austin Vazquez <macedonv@amazon.com>
This commit is contained in:
Austin Vazquez
2024-02-10 13:45:04 -08:00
parent b87d78f456
commit f44d90be4a
4 changed files with 18 additions and 18 deletions

View File

@@ -27,7 +27,7 @@ import (
const (
capaRemapIDs = "remap-ids"
capaOnlyRemapIds = "only-remap-ids"
capaOnlyRemapIDs = "only-remap-ids"
)
// WithRemapperLabels creates the labels used by any supporting snapshotter
@@ -75,7 +75,7 @@ func resolveSnapshotOptions(ctx context.Context, client *Client, snapshotterName
capaOnlyRemap := false
for _, capa := range capabs {
if capa == capaOnlyRemapIds {
if capa == capaOnlyRemapIDs {
capaOnlyRemap = true
}
}