mirror of
https://github.com/hashicorp/packer.git
synced 2026-06-13 18:50:11 -04:00
fmt
This commit is contained in:
parent
6cd0e7cbea
commit
39cd5736e6
1 changed files with 1 additions and 1 deletions
|
|
@ -55,7 +55,7 @@ func decodeConfig(r io.Reader, c *config) error {
|
|||
// Returns an array of defined command names.
|
||||
func (c *config) CommandNames() (result []string) {
|
||||
result = make([]string, 0, len(c.Commands))
|
||||
for name, _ := range c.Commands {
|
||||
for name := range c.Commands {
|
||||
result = append(result, name)
|
||||
}
|
||||
return
|
||||
|
|
|
|||
Loading…
Reference in a new issue