From d887dad13a6c939299c51ae6d44da4a989c0f72c Mon Sep 17 00:00:00 2001 From: "deepsource-autofix[bot]" <62050782+deepsource-autofix[bot]@users.noreply.github.com> Date: Tue, 13 Feb 2024 05:39:58 +0000 Subject: [PATCH] style: format code with Gofumpt and Prettier This commit fixes the style issues introduced in 4ceb9a2 according to the output from Gofumpt and Prettier. Details: https://github.com/vdaas/vald/pull/2326 --- pkg/tools/cli/loadtest/config/config.go | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/pkg/tools/cli/loadtest/config/config.go b/pkg/tools/cli/loadtest/config/config.go index 9254103f57f..805a8e89c31 100644 --- a/pkg/tools/cli/loadtest/config/config.go +++ b/pkg/tools/cli/loadtest/config/config.go @@ -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.