Skip to content

Commit

Permalink
chore: change constant name
Browse files Browse the repository at this point in the history
martinsaporiti committed Jul 30, 2024
1 parent 10b6ecb commit c379035
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/kms_priv_key_importer/main.go
Original file line number Diff line number Diff line change
@@ -26,7 +26,7 @@ import (
)

const (
issuerKMSETHPlugin = "ISSUER_KMS_ETH_PROVIDER"
issuerKMSETHProvider = "ISSUER_KMS_ETH_PROVIDER"
issuerPublishKeyPath = "ISSUER_PUBLISH_KEY_PATH"
issuerKmsPluginLocalStorageFilePath = "ISSUER_KMS_PROVIDER_LOCAL_STORAGE_FILE_PATH"
issuerKeyStoreToken = "ISSUER_KEY_STORE_TOKEN"
@@ -75,7 +75,7 @@ func main() {
log.Error(ctx, "Error loading .env-issuer file")
}

issuerKMSEthPluginVar := os.Getenv(issuerKMSETHPlugin)
issuerKMSEthPluginVar := os.Getenv(issuerKMSETHProvider)
issuerKmsPluginLocalStorageFilePath := os.Getenv(issuerKmsPluginLocalStorageFilePath)

if issuerKMSEthPluginVar != config.LocalStorage && issuerKMSEthPluginVar != config.Vault && issuerKMSEthPluginVar != config.AWS {

0 comments on commit c379035

Please sign in to comment.