fix compilation
This commit is contained in:
parent
9d89ca8e07
commit
ba359394b1
15
commands.go
15
commands.go
@ -6,6 +6,7 @@ import (
|
||||
|
||||
"github.com/mitchellh/cli"
|
||||
"github.com/mitchellh/packer/command"
|
||||
"github.com/mitchellh/packer/packer"
|
||||
)
|
||||
|
||||
// Commands is the mapping of all the available Terraform commands.
|
||||
@ -18,18 +19,14 @@ const ErrorPrefix = "e:"
|
||||
const OutputPrefix = "o:"
|
||||
|
||||
func init() {
|
||||
Ui = &cli.PrefixedUi{
|
||||
AskPrefix: OutputPrefix,
|
||||
OutputPrefix: OutputPrefix,
|
||||
InfoPrefix: OutputPrefix,
|
||||
ErrorPrefix: ErrorPrefix,
|
||||
Ui: &cli.BasicUi{Writer: os.Stdout},
|
||||
}
|
||||
|
||||
meta := command.Meta{
|
||||
CoreConfig: &CoreConfig,
|
||||
EnvConfig: &EnvConfig,
|
||||
Ui: Ui,
|
||||
Ui: &packer.BasicUi{
|
||||
Reader: os.Stdin,
|
||||
Writer: os.Stdout,
|
||||
ErrorWriter: os.Stdout,
|
||||
},
|
||||
}
|
||||
|
||||
Commands = map[string]cli.CommandFactory{
|
||||
|
Loading…
x
Reference in New Issue
Block a user