Skip to content

Commit

Permalink
fix: secret sourcing (#177)
Browse files Browse the repository at this point in the history
  • Loading branch information
deryrahman committed Nov 6, 2023
1 parent 1c0335e commit 5530950
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/cmd/job/run_input.go
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ func (j *jobRunInputCommand) writeInstanceResponse(jobResponse *pb.JobRunInputRe
func (j *jobRunInputCommand) writeJobResponseSecretToFile(
jobResponse *pb.JobRunInputResponse, dirPath string,
) error {
secretsFileContent, keysWithUnsubstitutedValue := ConstructConfigEnvSourcingContent(jobResponse.Envs)
secretsFileContent, keysWithUnsubstitutedValue := ConstructConfigEnvSourcingContent(jobResponse.Secrets)
j.keysWithUnsubstitutedValue = append(j.keysWithUnsubstitutedValue, keysWithUnsubstitutedValue...)

filePath := filepath.Join(dirPath, typeSecretFileName)
Expand Down

0 comments on commit 5530950

Please sign in to comment.