zalando-stups / pierone-cli

DEPRECATED: Convenient command line client for STUPS' Pier One Docker registry
http://docs.stups.io/en/latest/components/pierone.html#command-line-client
Other
10 stars 13 forks source link

Show error when artifact is not found in scm-source command #50

Closed rafaelcaricio closed 7 years ago

rafaelcaricio commented 8 years ago

When using $ pierone scm-source team notexist it was returning an empty output and no error (exit code 0). Now it shows message that the artifact or team does not exist and returns non-zero as exit code.

//cc @ainmosni

coveralls commented 8 years ago

Coverage Status

Coverage increased (+0.6%) to 83.459% when pulling c006bfd7ae39887f634f429cf6aca8e7ffb7dea8 on rafaelcaricio:display-error-when-no-artifact-is-found into 9f99c8f5a054c35b623c0601e66da0c15fdb578a on zalando-stups:master.

rafaelcaricio commented 8 years ago

@hjacobs could you check this PR?

rafaelcaricio commented 7 years ago

@hjacobs could you please check this pr?

hjacobs commented 7 years ago

:+1: