-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
cli: report server version #9159
Merged
tgross
merged 24 commits into
hashicorp:main
from
drewgonzales360:issue-1040/warn-on-mismatched-nomad-versions
Nov 7, 2022
Merged
cli: report server version #9159
tgross
merged 24 commits into
hashicorp:main
from
drewgonzales360:issue-1040/warn-on-mismatched-nomad-versions
Nov 7, 2022
Commits on Oct 22, 2020
-
setVersion adds a header X-Nomad-Version to a wrapper function. There is a wrapper function in http.go that takes a normal implementation for an endpoint, and adds other code that should be there. As an example, let's say that an endpoint wants to search for all the jobs running. The function would implement the logic to look for jobs. Then you take that function, pass it to the wrapper, and the wrapper will add all the headers that should be on that response. It's nice because all of the logic that you'd have to add version headers can get put in one place
Configuration menu - View commit details
-
Copy full SHA for 5c9f2ea - Browse repository at this point
Copy the full SHA 5c9f2eaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2e41963 - Browse repository at this point
Copy the full SHA 2e41963View commit details -
Configuration menu - View commit details
-
Copy full SHA for d81b183 - Browse repository at this point
Copy the full SHA d81b183View commit details -
self review, remove test for version in testWrapNonJson
Also fix the build. You need to call go mod vendor when changing the api directory
Configuration menu - View commit details
-
Copy full SHA for 1f4c046 - Browse repository at this point
Copy the full SHA 1f4c046View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8cce0dc - Browse repository at this point
Copy the full SHA 8cce0dcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 53986dd - Browse repository at this point
Copy the full SHA 53986ddView commit details
Commits on Nov 2, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 920351f - Browse repository at this point
Copy the full SHA 920351fView commit details
Commits on Oct 17, 2021
-
Merge branch 'main' of github.com:hashicorp/nomad into issue-1040/war…
…n-on-mismatched-nomad-versions
Configuration menu - View commit details
-
Copy full SHA for b05e645 - Browse repository at this point
Copy the full SHA b05e645View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4fa24c3 - Browse repository at this point
Copy the full SHA 4fa24c3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 28f724d - Browse repository at this point
Copy the full SHA 28f724dView commit details -
Configuration menu - View commit details
-
Copy full SHA for e61c8c2 - Browse repository at this point
Copy the full SHA e61c8c2View commit details -
Configuration menu - View commit details
-
Copy full SHA for aa5015c - Browse repository at this point
Copy the full SHA aa5015cView commit details
Commits on Dec 20, 2021
-
Configuration menu - View commit details
-
Copy full SHA for a6235c7 - Browse repository at this point
Copy the full SHA a6235c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8d56d17 - Browse repository at this point
Copy the full SHA 8d56d17View commit details -
Configuration menu - View commit details
-
Copy full SHA for c7ee53a - Browse repository at this point
Copy the full SHA c7ee53aView commit details
Commits on Mar 4, 2022
-
Configuration menu - View commit details
-
Copy full SHA for a154f98 - Browse repository at this point
Copy the full SHA a154f98View commit details -
Merge remote-tracking branch 'upstream/main' into issue-1040/warn-on-…
…mismatched-nomad-versions
Configuration menu - View commit details
-
Copy full SHA for 3bf31ce - Browse repository at this point
Copy the full SHA 3bf31ceView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0a3717f - Browse repository at this point
Copy the full SHA 0a3717fView commit details -
Configuration menu - View commit details
-
Copy full SHA for d7bd3e8 - Browse repository at this point
Copy the full SHA d7bd3e8View commit details
Commits on Apr 23, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 42033ad - Browse repository at this point
Copy the full SHA 42033adView commit details
Commits on May 7, 2022
-
Configuration menu - View commit details
-
Copy full SHA for cde6108 - Browse repository at this point
Copy the full SHA cde6108View commit details
Commits on May 14, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 44f06a7 - Browse repository at this point
Copy the full SHA 44f06a7View commit details
Commits on Oct 18, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 2f7ef2d - Browse repository at this point
Copy the full SHA 2f7ef2dView commit details
Commits on Nov 7, 2022
-
Configuration menu - View commit details
-
Copy full SHA for e1f01c3 - Browse repository at this point
Copy the full SHA e1f01c3View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.