Skip to content

Commit

Permalink
lint warn
Browse files Browse the repository at this point in the history
  • Loading branch information
longquanzheng committed Aug 26, 2021
1 parent 313d912 commit d50a5bf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions bench/load/basic/launchWorkflow.go
Original file line number Diff line number Diff line change
Expand Up @@ -169,9 +169,8 @@ func launcherWorkflow(ctx workflow.Context, config lib.BasicTestConfig) (string,
passed, result.TimeoutCount, result.FailedCount, result.OpenCount, config.TotalLaunchCount, maxTolerantFailure)
if passed {
return finalResult, nil
} else {
return "", fmt.Errorf(finalResult)
}
return "", fmt.Errorf(finalResult)
}

func launcherActivity(ctx context.Context, params launcherActivityParams) error {
Expand Down

0 comments on commit d50a5bf

Please sign in to comment.