Skip to content

Commit

Permalink
style: format code with Gofumpt and Prettier
Browse files Browse the repository at this point in the history
This commit fixes the style issues introduced in 4ceb9a2 according to the output
from Gofumpt and Prettier.

Details: #2326
  • Loading branch information
deepsource-autofix[bot] committed Feb 13, 2024
1 parent 4ceb9a2 commit d887dad
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions pkg/tools/cli/loadtest/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,13 @@ func (o Operation) String() string {
// In K8s environment, this configuration is stored in K8s ConfigMap.
type Data struct {
config.GlobalConfig `json:",inline" yaml:",inline"` //nolint: tagalign
Addr string `json:"addr" yaml:"addr"`
Operation string `json:"operation" yaml:"operation"`
Dataset string `json:"dataset" yaml:"dataset"`
Concurrency int `json:"concurrency" yaml:"concurrency"`
BatchSize int `json:"batch_size" yaml:"batch_size"`
ProgressDuration string `json:"progress_duration" yaml:"progress_duration"`
Client *config.GRPCClient `json:"client" yaml:"client"`
Addr string `json:"addr" yaml:"addr"`
Operation string `json:"operation" yaml:"operation"`
Dataset string `json:"dataset" yaml:"dataset"`
Concurrency int `json:"concurrency" yaml:"concurrency"`
BatchSize int `json:"batch_size" yaml:"batch_size"`
ProgressDuration string `json:"progress_duration" yaml:"progress_duration"`
Client *config.GRPCClient `json:"client" yaml:"client"`
}

// NewConfig returns loaded configuration from file.
Expand Down

0 comments on commit d887dad

Please sign in to comment.