Skip to content

Commit 4548f54

Browse files
chhawchhariaHarness
authored andcommitted
feat:[CI-13780]: Fixed lint issues (#380)
* feat:[CI-13780]: Fixed lint issues
1 parent eea8fd3 commit 4548f54

File tree

2 files changed

+12
-10
lines changed

2 files changed

+12
-10
lines changed

engine/spec/spec.go

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,17 @@ type (
1313
// PipelineConfig provides the pipeline level configuration valid for all
1414
// the steps in the pipeline.
1515
PipelineConfig struct {
16-
Platform Platform `json:"platform,omitempty"`
17-
Volumes []*Volume `json:"volumes,omitempty"`
18-
Network Network `json:"network"`
19-
Envs map[string]string `json:"envs,omitempty"`
20-
Files []*File `json:"files,omitempty"`
21-
EnableDockerSetup *bool `json:"mount_docker_socket"`
22-
TTY bool `json:"tty,omitempty" default:"false"`
23-
MtlsConfig MtlsConfig `json:"mtls_config,omitempty"`
24-
ProcessIdsFilePath string `json:"process_ids_file_path,omitempty"` // Path to the file where process IDs are stored. Process IDs are used to track running processes launched by run step on host. //nolint:lll
16+
Platform Platform `json:"platform,omitempty"`
17+
Volumes []*Volume `json:"volumes,omitempty"`
18+
Network Network `json:"network"`
19+
Envs map[string]string `json:"envs,omitempty"`
20+
Files []*File `json:"files,omitempty"`
21+
EnableDockerSetup *bool `json:"mount_docker_socket"`
22+
TTY bool `json:"tty,omitempty" default:"false"`
23+
MtlsConfig MtlsConfig `json:"mtls_config,omitempty"`
24+
// Path to the file where process IDs are stored. Process IDs
25+
// are used to track running processes launched by run step on host.
26+
ProcessIdsFilePath string `json:"process_ids_file_path,omitempty"`
2527
}
2628

2729
// Step defines a pipeline step.

logstream/replacer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ func NewReplacerWithEnvs(w Writer, secrets []string, envs map[string]string) Wri
242242
w: w,
243243
r: strings.NewReplacer(oldnew...),
244244
}
245-
} else {
245+
} else { //nolint:revive
246246
// Basic masking - original simple logic when FF is OFF
247247
var oldnew []string
248248
for _, secret := range secrets {

0 commit comments

Comments
 (0)