Skip to content

Commit c1e0c56

Browse files
committed
wip
Signed-off-by: Kimmo Lehto <klehto@mirantis.com>
1 parent 4dc3061 commit c1e0c56

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

cmd/flags.go

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,13 +143,17 @@ func initConfig(ctx *cli.Context) error {
143143
return err
144144
}
145145
log.Debugf("glob %s expanded to %v", p, matches)
146-
configs = append(configs, matches...)
146+
for _, m := range matches {
147+
configs = append(configs, path.Join(base, m))
148+
}
147149
}
148150

149151
if len(configs) == 0 {
150152
return fmt.Errorf("no configuration files found")
151153
}
152154

155+
log.Debugf("%d potential configuration files found", len(configs))
156+
153157
manifestReader := &manifest.Reader{}
154158

155159
for _, f := range configs {

0 commit comments

Comments
 (0)