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

plugin/nomad: Ensure Namespace is set if not set by user #1358

Merged
merged 1 commit into from
Apr 19, 2021

Conversation

briancain
Copy link
Member

Since we have to pass through namespace as a ptr, if namespace is unset
then it gets dereferenced as empty string rather than nil, which means
the Nomad job api Canonicalize() doesn't end up setting a default
namespace. This commit fixes that by ensuring the namespace Waypoint
provides is set to a default.

Since we have to pass through namespace as a ptr, if namespace is unset
then it gets dereferenced as empty string rather than nil, which means
the Nomad job api `Canonicalize()` doesn't end up setting a default
namespace. This commit fixes that by ensuring the namespace Waypoint
provides is set to a default.
@briancain briancain added bug Something isn't working plugin/nomad pr/no-changelog No automatic changelog entry required for this pull request backport/0.3.x labels Apr 19, 2021
Copy link
Contributor

@krantzinator krantzinator left a comment

Choose a reason for hiding this comment

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

:shipit:

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working plugin/nomad plugin pr/no-changelog No automatic changelog entry required for this pull request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants