Skip to content

Commit

Permalink
rename CNB_ANALYZE_SKIP_LAYERS to CNB_SKIP_LAYERS to match spec and r…
Browse files Browse the repository at this point in the history
…esolve FIXME
  • Loading branch information
joe-kimmel-vmw committed Jan 4, 2023
1 parent 4b1f2c3 commit a79a38c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions platform/defaults.go
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,7 @@ const (
EnvLaunchCacheDir = "CNB_LAUNCH_CACHE_DIR"

// EnvSkipLayers when true will instruct the lifecycle to ignore layers from a previously built image.
EnvSkipLayers = "CNB_ANALYZE_SKIP_LAYERS"
// FIXME: the spec calls this CNB_SKIP_LAYERS; either the spec or the lifecycle is wrong
EnvSkipLayers = "CNB_SKIP_LAYERS"

// EnvSkipRestore is used when running the creator, and is equivalent to passing EnvSkipLayers to both the analyzer and
// the restorer in the 5-phase invocation.
Expand Down

0 comments on commit a79a38c

Please sign in to comment.