]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
script/ceph-backport.sh: check Redmine API status code on PUT request
authorNathan Cutler <ncutler@suse.com>
Wed, 11 Sep 2019 11:01:11 +0000 (13:01 +0200)
committerNathan Cutler <ncutler@suse.com>
Sat, 5 Oct 2019 15:08:40 +0000 (17:08 +0200)
commit65877bd980bc79a2c462b55e9c619b5a109f7b8e
treeefac0ada08ba44e278d8fdf6b9460f93e9d68216
parentc2adfb62c62fb742529f6eb3bf9bccc13dd4efed
script/ceph-backport.sh: check Redmine API status code on PUT request

When updating the Backport tracker issue in Redmine, upon success the status
code should be 2**.

A status code of 4** indicates a problem with authentication.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
src/script/ceph-backport.sh