update from review
Reference modules by terraform address Unquote versions
This commit is contained in:
parent
c510473fd2
commit
2ed529f81a
|
@ -343,7 +343,7 @@ func (s Storage) findRegistryModule(mSource, constraint string) (moduleRecord, e
|
|||
return rec, err
|
||||
}
|
||||
|
||||
s.output(fmt.Sprintf(" Found version %q of %s on %s", rec.Version, mod.Module(), mod.RawHost.Display()))
|
||||
s.output(fmt.Sprintf(" Found version %s of %s on %s", rec.Version, mod.Module(), mod.RawHost.Display()))
|
||||
|
||||
}
|
||||
return rec, nil
|
||||
|
|
|
@ -5,7 +5,6 @@ import (
|
|||
"bytes"
|
||||
"fmt"
|
||||
"log"
|
||||
"path"
|
||||
"path/filepath"
|
||||
"strings"
|
||||
"sync"
|
||||
|
@ -216,7 +215,7 @@ func (t *Tree) getChildren(s *Storage) (map[string]*Tree, error) {
|
|||
|
||||
// add the module path to help indicate where modules with relative
|
||||
// paths are being loaded from
|
||||
s.output(fmt.Sprintf("- Module %q", path.Join(modPath...)))
|
||||
s.output(fmt.Sprintf("- module.%s", strings.Join(modPath, ".")))
|
||||
|
||||
// Lookup the local location of the module.
|
||||
// dir is the local directory where the module is stored
|
||||
|
|
Loading…
Reference in New Issue