diff --git a/clabverter/clabverter.go b/clabverter/clabverter.go index 55a1ac4..5d51c0d 100644 --- a/clabverter/clabverter.go +++ b/clabverter/clabverter.go @@ -385,7 +385,6 @@ func (c *Clabverter) load() error { c.logger.Debug("attempting to load spec values....") rawSpecValuesBytes, err := os.ReadFile(c.valuesPath) - if err != nil { c.logger.Criticalf( "failed reading spec values file at '%s' from disk, error: %s", diff --git a/cmd/clabverter/cli/entrypoint.go b/cmd/clabverter/cli/entrypoint.go index 45dc705..7843036 100644 --- a/cmd/clabverter/cli/entrypoint.go +++ b/cmd/clabverter/cli/entrypoint.go @@ -33,14 +33,15 @@ func Entrypoint() *cli.App { Flags: []cli.Flag{ &cli.StringFlag{ Name: topologyFile, - Usage: `set the topology file to parse. -If not set, clabverter will look for a file named '*.clab.y*ml'`, + Usage: "set the topology file to parse. If not set, clabverter will look for" + + " a file named '*.clab.y*ml'", Required: false, Value: "", }, &cli.StringFlag{ - Name: specsFile, - Usage: `set the values file to parse that will be included in the topology manifest spec.`, + Name: specsFile, + Usage: "set the values file to parse that will be included in the topology" + + " manifest spec", Required: false, Value: "", },