]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cephadm: fix custom alertmanager
authorPatrick Seidensal <pseidensal@suse.com>
Thu, 30 Jul 2020 09:37:46 +0000 (11:37 +0200)
committerPatrick Seidensal <pseidensal@suse.com>
Wed, 5 Aug 2020 10:14:28 +0000 (12:14 +0200)
commitd218de4cde8d37f7f69a2a2a9474c0ac9afca41d
tree68db9626469c5b35de2d1259015bdf8051c9b91a
parentea29db3c62b8c60da2238c967d243f3c5a416941
cephadm: fix custom alertmanager

When alertmanager image has been customized and does not have a
/etc/alertmanager directory, the uid/gid extraction fails. This change
assumes that instead the /etc/prometheus directory exists and can be
used to extract the uid and gid.

Signed-off-by: Patrick Seidensal <pseidensal@suse.com>
src/cephadm/cephadm