mirror of
https://github.com/SAP/jenkins-library.git
synced 2024-12-12 10:55:20 +02:00
Hotfix for ServiceKey config parameter (#1377)
Changed from passing config as an array that was implemented badly to correct implementation that JSON config gets passed with ' ' Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com>
This commit is contained in:
parent
b0144614e5
commit
66636d68f9
@ -62,7 +62,7 @@ func runCloudFoundryCreateServiceKey(config *cloudFoundryCreateServiceKeyOptions
|
||||
if config.CfServiceKeyConfig == "" {
|
||||
cfCreateServiceKeyScript = []string{"create-service-key", config.CfServiceInstance, config.CfServiceKeyName}
|
||||
} else {
|
||||
cfCreateServiceKeyScript = []string{"create-service-key", config.CfServiceInstance, config.CfServiceKeyName, "[-c", config.CfServiceKeyConfig, "]"}
|
||||
cfCreateServiceKeyScript = []string{"create-service-key", config.CfServiceInstance, config.CfServiceKeyName, "-c '", config.CfServiceKeyConfig, "'"}
|
||||
fmt.Println(cfCreateServiceKeyScript)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user