Skip to content

Commit

Permalink
fix errors in function (#85)
Browse files Browse the repository at this point in the history
* Update download.go

* Update generate_file.go
  • Loading branch information
aso20455 authored Mar 4, 2025
1 parent 891231b commit d8b11d0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/download.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func bindDownloadFlags(cmd *cobra.Command, args *downloadArgument) {

cmd.Flags().BoolVar(&args.proof, "proof", false, "Whether to download with merkle proof for validation")

cmd.Flags().IntVar(&args.routines, "routines", runtime.GOMAXPROCS(0), "number of go routines for downloading simutanously")
cmd.Flags().IntVar(&args.routines, "routines", runtime.GOMAXPROCS(0), "number of go routines for downloading simultaneously")

cmd.Flags().DurationVar(&args.timeout, "timeout", 0, "cli task timeout, 0 for no timeout")
}
Expand Down
2 changes: 1 addition & 1 deletion cmd/generate_file.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func generateTempFile(*cobra.Command, []string) {
return
}

logrus.WithField("file", genFileArgs.file).Info("Overrite file")
logrus.WithField("file", genFileArgs.file).Info("Overwrite file")
}

r := rand.New(rand.NewSource(time.Now().UnixNano()))
Expand Down

0 comments on commit d8b11d0

Please sign in to comment.