Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(env): allow update of existing env vars #31

Merged
merged 1 commit into from
Apr 20, 2022
Merged

Conversation

Edholm
Copy link
Member

@Edholm Edholm commented Apr 13, 2022

This allows you to update existing environment, and service environemnt variables.

It also fixes the create function for device service environment variables, which didn't match the API upstream.

In addition to the unit tests, I have tested all methods manually in another repo.

@Edholm Edholm added the enhancement New feature or request label Apr 13, 2022
Copy link
Contributor

@alethenorio alethenorio left a comment

Choose a reason for hiding this comment

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

Nice. Got a few comments. Above all, can we avoid the %w if possible?

deviceservvar.go Outdated Show resolved Hide resolved
deviceservvar.go Outdated Show resolved Hide resolved
deviceservvar.go Outdated Show resolved Hide resolved
deviceservvar.go Outdated Show resolved Hide resolved
deviceservvar.go Outdated Show resolved Hide resolved
@Edholm
Copy link
Member Author

Edholm commented Apr 20, 2022

Okay if I merge @alethenorio ?

Copy link
Contributor

@alethenorio alethenorio left a comment

Choose a reason for hiding this comment

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

Looks like I had a review which I never published otherwise it looks good

serviceinstall.go Outdated Show resolved Hide resolved
This allows you to update existing environment, and service environemnt
variables.

It also fixes the create function for device service environment
variables, which didn't match the API upstream.
@Edholm Edholm merged commit 8e354ce into master Apr 20, 2022
@Edholm Edholm deleted the feat/update-env-vars branch April 20, 2022 06:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants