Skip to content
Discussion options

You must be logged in to vote

Don’t unset the value of the token. It needs to have a value even if it’s an empty string in order for the ENV override to function. Otherwise there is no “entry” for it to override. I’m not sure if this is a viper issue or GDG but it isn’t very obvious. I’ll make a note to call it out in the next release.

You can also confirm the behavior via:

GDG_CONTEXTS__TESTING__TOKEN="1234" ./bin/gdg t contexts show

---testing:
token: "1234"
connections: null
dashboard_settings:
    nested_folders: false
    ignore_filters: true
    ignore_bad_folders: false
watched: []
watched_folders_override: []
organization_name: DumbDumb
output_path: test/data
password: admin
storage: ""
url: http://localhost:3000

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by byoungstrom
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants