Code formatted via gofmt
This commit is contained in:
parent
10f04c90a5
commit
9596271b36
|
@ -76,13 +76,13 @@ func (c *OutputCommand) Run(args []string) int {
|
||||||
if name == "" {
|
if name == "" {
|
||||||
ks := make([]string, 0, len(mod.Outputs))
|
ks := make([]string, 0, len(mod.Outputs))
|
||||||
for k, _ := range mod.Outputs {
|
for k, _ := range mod.Outputs {
|
||||||
ks = append(ks, k)
|
ks = append(ks, k)
|
||||||
}
|
}
|
||||||
sort.Strings(ks)
|
sort.Strings(ks)
|
||||||
|
|
||||||
for _, k := range ks {
|
for _, k := range ks {
|
||||||
v := mod.Outputs[k]
|
v := mod.Outputs[k]
|
||||||
c.Ui.Output(fmt.Sprintf("%s = %s", k, v))
|
c.Ui.Output(fmt.Sprintf("%s = %s", k, v))
|
||||||
}
|
}
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue