Skip to content

Commit

Permalink
Merge pull request #164 from xrstf/fix-help
Browse files Browse the repository at this point in the history
fix help text for --config flag
  • Loading branch information
k8s-ci-robot committed Apr 2, 2024
2 parents 0ed26ce + c771c94 commit c9d47ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ func init() {

cobra.OnInitialize(initConfig)

rootCmd.Flags().StringVar(&cfgFile, "config", "", fmt.Sprintf("Default config file (%s/hydrophone/hydrophone.yaml)", xdg.ConfigHome))
rootCmd.Flags().StringVar(&cfgFile, "config", "", fmt.Sprintf("config file (defaults to %s/hydrophone.yaml).", xdg.ConfigHome))
rootCmd.Flags().StringVar(&kubeconfig, "kubeconfig", "", "path to the kubeconfig file.")

rootCmd.Flags().IntVar(&parallel, "parallel", 1, "number of parallel threads in test framework.")
Expand Down
2 changes: 1 addition & 1 deletion pkg/client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func (c *Client) FetchFiles(ctx context.Context, config *rest.Config, clientset
if err != nil {
log.Fatalf("unable to download e2e.log: %v\n", err)
}
log.Println("downloading junit_01.xml to", filepath.Join(outputDir, "junit_01.xml"))
log.Println("downloading junit_01.xml to ", filepath.Join(outputDir, "junit_01.xml"))
junitXMLFile, err := os.OpenFile(filepath.Join(outputDir, "junit_01.xml"), os.O_WRONLY|os.O_CREATE, 0600)
if err != nil {
log.Fatalf("unable to create junit_01.xml: %v\n", err)
Expand Down

0 comments on commit c9d47ce

Please sign in to comment.