Skip to content

Commit

Permalink
Merge pull request #47374 from adk3798/wip-56983-quincy
Browse files Browse the repository at this point in the history
quincy: cephadm: Fix repo_gpgkey should return 2 vars

Reviewed-by: Guillaume Abrioux <gabrioux@redhat.com>
  • Loading branch information
adk3798 committed Aug 3, 2022
2 parents 01e5f31 + 960983b commit 076ba61
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cephadm/cephadm
Original file line number Diff line number Diff line change
Expand Up @@ -7401,7 +7401,7 @@ class Packager(object):

def repo_gpgkey(self) -> Tuple[str, str]:
if self.ctx.gpg_url:
return self.ctx.gpg_url
return self.ctx.gpg_url, 'manual'
if self.stable or self.version:
return 'https://download.ceph.com/keys/release.gpg', 'release'
else:
Expand Down Expand Up @@ -7465,7 +7465,7 @@ class Apt(Packager):
self.update()

def rm_repo(self) -> None:
for name in ['autobuild', 'release']:
for name in ['autobuild', 'release', 'manual']:
p = '/etc/apt/trusted.gpg.d/ceph.%s.gpg' % name
if os.path.exists(p):
logger.info('Removing repo GPG key %s...' % p)
Expand Down

0 comments on commit 076ba61

Please sign in to comment.