Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Commit

Permalink
Endrer name på unleash api-token-deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
terjeofnorway committed Oct 7, 2023
1 parent 8e93c3c commit 7cb0069
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .nais/unleash/unleash-api-token.dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ spec:
unleashInstance:
apiVersion: unleash.nais.io/v1
kind: RemoteUnleash
name: navno
name: personbruker
secretName: nav-dekoratoren-unleash-api-token
environment: development
2 changes: 1 addition & 1 deletion .nais/unleash/unleash-api-token.prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ spec:
unleashInstance:
apiVersion: unleash.nais.io/v1
kind: RemoteUnleash
name: navno
name: personbruker
secretName: nav-dekoratoren-unleash-api-token

# Specify which environment the API token should be created for.
Expand Down
3 changes: 0 additions & 3 deletions src/server/api-handlers/features.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@ export const getFeaturesHandler: RequestHandler = async (req, res) => {
return;
}

console.log(`unleashapi - ${UNLEASH_SERVER_API_URL}`);
console.log(`unleastoken partly - ${UNLEASH_SERVER_API_TOKEN.substring(0, 5)}`);

try {
const unleash = await startUnleash({
url: UNLEASH_SERVER_API_URL,
Expand Down

0 comments on commit 7cb0069

Please sign in to comment.