Skip to content

Commit

Permalink
fix: merge av variabelnavn hadde feilet
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyrremann committed Mar 2, 2022
1 parent 457f867 commit f4bed5b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/config/environment.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import (
)

const (
KafkaSchemaRegistryEnvName = "kafka-secret.env"
OpenSearchEnvName = "opensearch-secret.env"
KafkaEnvName = "kafka-secret.env"
OpenSearchEnvName = "opensearch-secret.env"
)

func WriteOpenSearchEnvConfigToFile(secret *v1.Secret, destinationPath string) error {
Expand All @@ -35,7 +35,7 @@ func WriteKafkaEnvConfigToFile(secret *v1.Secret, destinationPath string) error
consts.KafkaPrivateKeyPathKey, consts.KafkaCAPathKey,
}

return writeConfigToFile(secret, destinationPath, KafkaSchemaRegistryEnvName, kafkaEnvsToSaveToFile, kafkaSecretsToSaveToFile)
return writeConfigToFile(secret, destinationPath, KafkaEnvName, kafkaEnvsToSaveToFile, kafkaSecretsToSaveToFile)
}

func writeConfigToFile(secret *v1.Secret, destinationPath, destinationFilename string, envsToSave []string, secretFilesToSave map[string]string) error {
Expand Down

0 comments on commit f4bed5b

Please sign in to comment.