From 425416f91386ef65007a962e277335beba90712c Mon Sep 17 00:00:00 2001 From: ankita-gulati-gojek Date: Tue, 7 Nov 2023 10:24:26 +0530 Subject: [PATCH] fix[prod] secret export changes --- client/cmd/job/run_input.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/cmd/job/run_input.go b/client/cmd/job/run_input.go index ec05dbf6c8..a83a2af523 100644 --- a/client/cmd/job/run_input.go +++ b/client/cmd/job/run_input.go @@ -158,7 +158,7 @@ func (j *jobRunInputCommand) writeJobResponseSecretToFile( ) error { // write all secrets into a file secretsFileContent := "" - secretsFileContent, keysWithUnsubstitutedValue := ConstructConfigEnvSourcingContent(jobResponse.Envs) + secretsFileContent, keysWithUnsubstitutedValue := ConstructConfigEnvSourcingContent(jobResponse.Secrets) j.keysWithUnsubstitutedValue = append(j.keysWithUnsubstitutedValue, keysWithUnsubstitutedValue...) filePath := filepath.Join(dirPath, typeSecretFileName)