Skip to content

Commit

Permalink
Delint.
Browse files Browse the repository at this point in the history
  • Loading branch information
mjkw31 committed Sep 6, 2024
1 parent 4115485 commit 2044046
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion cmd/cron.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,8 @@ func init() {
"from specified directory after merging")
cronCmd.Flags().BoolVarP(&createPartial, "create_partial_dir", "p", false, "perform the walk, "+
"stat, and combine steps only")
cronCmd.Flags().BoolVarP(&finishPartial, "partial_dir_finish", "z", false, "perform the basedir and tidy step on a partial run")
cronCmd.Flags().BoolVarP(&finishPartial, "partial_dir_finish", "z", false, "perform the basedir "+
"and tidy step on a partial run")
cronCmd.Flags().IntVarP(&multiInodes, "inodes_per_stat", "n",
defaultInodesPerJob, "number of inodes per parallel stat job")
cronCmd.Flags().IntVarP(&multiStatJobs, "num_stat_jobs", "j",
Expand Down
5 changes: 3 additions & 2 deletions cmd/multi.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,8 @@ func init() {
"from specified directory after merging")
multiCmd.Flags().BoolVarP(&createPartial, "create_partial_dir", "p", false, "perform the walk, "+
"stat, and combine steps only")
multiCmd.Flags().BoolVarP(&finishPartial, "partial_dir_finish", "z", false, "perform the basedir and tidy step on a partial run")
multiCmd.Flags().BoolVarP(&finishPartial, "partial_dir_finish", "z", false, "perform the basedir "+
"and tidy step on a partial run")
multiCmd.Flags().IntVarP(&multiInodes, "inodes_per_stat", "n",
defaultInodesPerJob, "number of inodes per parallel stat job")
multiCmd.Flags().IntVarP(&multiStatJobs, "num_stat_jobs", "j",
Expand Down Expand Up @@ -217,7 +218,7 @@ func doMultiScheduling(args []string) error {
return err
}

if !finishPartial {
if !finishPartial { //nolint:nestif
scheduleWalkJobs(outputRoot, args, unique, multiStatJobs, multiInodes, multiCh, forcedQueue, s)

if partialDirMerge != "" {
Expand Down

0 comments on commit 2044046

Please sign in to comment.