We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09c7891 commit c7ffecbCopy full SHA for c7ffecb
cmd/root.go
@@ -139,11 +139,11 @@ func getTopoFilePath(cmd *cobra.Command) error {
139
files, err := filepath.Glob("*.clab.y*ml")
140
141
if len(files) == 0 {
142
- return errors.New("no topology files matching the pattern *.clab.y*ml found")
+ return errors.New("no topology files matching the pattern *.clab.yml or *.clab.yaml found")
143
}
144
145
if len(files) > 1 {
146
- return fmt.Errorf("more than one topology file matching the pattern *.clab.y*ml found, can't pick one: %q", files)
+ return fmt.Errorf("more than one topology file matching the pattern *.clab.yml or *.clab.yaml found, can't pick one: %q", files)
147
148
149
topo = files[0]
0 commit comments