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

Fix: Add test to identify misssing env vars #65

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

ricantar
Copy link

No description provided.

@ricantar ricantar requested a review from adshmh as a code owner March 10, 2023 06:54
@height
Copy link

height bot commented Mar 10, 2023

Link Height tasks by mentioning a task ID in the pull request title or commit messages, or description and comments with the keyword link (e.g. "Link T-123").

💡Tip: You can also use "Close T-X" to automatically close a task when the pull request is merged.

@@ -27,7 +27,7 @@ type options struct {

func GatherInfluxOptions() db.InfluxDBOptions {
return db.InfluxDBOptions{
URL: environment.MustGetString(INFLUXDB_URL),
URL: environment.GetString(INFLUXDB_URL, ""),
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We changed that from Must to GetString because otherwise it would panic and won't log + close the program

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant