Skip to content

Commit

Permalink
ignore tagaline from config.go
Browse files Browse the repository at this point in the history
  • Loading branch information
ykadowak committed Feb 13, 2024
1 parent 0b7df25 commit db14830
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion internal/k8s/vald/benchmark/api/v1/job_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ import (
)

type BenchmarkJobSpec struct {
*config.GlobalConfig `json:",omitempty" yaml:""`
//nolint: tagalign
*config.GlobalConfig `json:",omitempty" yaml:""`
ServerConfig *config.Servers `json:"server_config,omitempty" yaml:"server_config"`
Target *BenchmarkTarget `json:"target,omitempty" yaml:"target"`
Dataset *BenchmarkDataset `json:"dataset,omitempty" yaml:"dataset"`
Expand Down
3 changes: 2 additions & 1 deletion pkg/tools/cli/loadtest/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ func (o Operation) String() string {
// Data represent a application setting data content (config.yaml).
// In K8s environment, this configuration is stored in K8s ConfigMap.
type Data struct {
config.GlobalConfig `json:",inline" yaml:",inline"`
//nolint: tagalign
config.GlobalConfig `json:",inline" yaml:",inline"`
Addr string `json:"addr" yaml:"addr"`
Operation string `json:"operation" yaml:"operation"`
Dataset string `json:"dataset" yaml:"dataset"`
Expand Down

0 comments on commit db14830

Please sign in to comment.