-
Notifications
You must be signed in to change notification settings - Fork 315
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
[depot-client] Use HTTP/201 as success for artifact & key upload. #714
Conversation
Signed-off-by: Fletcher Nichol <[email protected]>
Signed-off-by: Fletcher Nichol <[email protected]>
looks good! |
@@ -218,8 +218,8 @@ fn sub_artifact_upload(m: &ArgMatches) -> Result<()> { | |||
Ok(token) => token, | |||
Err(_) => { | |||
return Err(Error::ArgumentError("Missing authentication token - Set \ | |||
AUTH_TOKEN env var or specify a value for \ | |||
--auth-token and try again.")) | |||
HAB_AUTH_TOKEN env var or specify a value \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good catch!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was the first user to be burned by trying both of these :) It's all cool, we great now
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Confirmed previous upload behavior:
|
Using @metadave's comment as my +1, thanks! |
📌 Commit f4f08aa has been approved by |
Signed-off-by: Fletcher Nichol <[email protected]> Pull request: #714 Approved by: fnichol
Signed-off-by: Fletcher Nichol <[email protected]> Pull request: #714 Approved by: fnichol
☀️ Test successful - travis |
Signed-off-by: Fletcher Nichol <[email protected]> Pull request: #714 Approved by: fnichol
Signed-off-by: Fletcher Nichol <[email protected]> Pull request: #714 Approved by: fnichol
No description provided.