Commit f621f889 authored by Mitchell Hashimoto's avatar Mitchell Hashimoto

packer: move constants into a single const()

parent afea628e
...@@ -6,17 +6,19 @@ import ( ...@@ -6,17 +6,19 @@ import (
"sync" "sync"
) )
// This is the key in configurations that is set to the name of the const (
// build. // This is the key in configurations that is set to the name of the
const BuildNameConfigKey = "packer_build_name" // build.
BuildNameConfigKey = "packer_build_name"
// This is the key in configurations that is set to "true" when Packer
// debugging is enabled. // This is the key in configurations that is set to "true" when Packer
const DebugConfigKey = "packer_debug" // debugging is enabled.
DebugConfigKey = "packer_debug"
// This is the key in configurations that is set to "true" when Packer
// force build is enabled. // This is the key in configurations that is set to "true" when Packer
const ForceConfigKey = "packer_force" // force build is enabled.
ForceConfigKey = "packer_force"
)
// A Build represents a single job within Packer that is responsible for // A Build represents a single job within Packer that is responsible for
// building some machine image artifact. Builds are meant to be parallelized. // building some machine image artifact. Builds are meant to be parallelized.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment