diff --git a/src/main/kotlin/no/nav/paw/config/Config.kt b/src/main/kotlin/no/nav/paw/config/Config.kt index 32a75a4..4b166f6 100644 --- a/src/main/kotlin/no/nav/paw/config/Config.kt +++ b/src/main/kotlin/no/nav/paw/config/Config.kt @@ -20,12 +20,6 @@ data class Config( .instanceId(dotenv["NAIS_APP_NAME"]) .unleashAPI(dotenv["UNLEASH_SERVER_API_URL"]) .apiKey(dotenv["UNLEASH_SERVER_API_TOKEN"]) - .environment( - when (System.getenv("NAIS_CLUSTER_NAME").orEmpty()) { - "prod-gcp" -> "production" - else -> "development" - } - ) .synchronousFetchOnInitialisation(true) .build(), val authentication: List = listOf(