install: use just Walk instead of WalkPrefix
As we walk through all files in the directory, not only over files with
given prefix, it should be fine to use just Walk, rather than WalkPrefix.
@@ -70,7 +70,8 @@ func PrepareLokomotiveTerraformModuleAt(path string) error {
}
return nil
}
- if err := box.WalkPrefix("", walk); err != nil {
+
+ if err := box.Walk(walk); err != nil {
return errors.Wrap(err, "failed to walk box")
}
return nil
