So that registry_login can be moved to container_engines.py
without creating a dependency on logging there
Signed-off-by: Adam King <adking@redhat.com>
def command_registry_login(ctx: CephadmContext) -> int:
+ logger.info('Logging into custom registry.')
if ctx.registry_json:
logger.info('Pulling custom registry login info from %s.' % ctx.registry_json)
d = get_parm(ctx.registry_json)
def registry_login(ctx: CephadmContext, url: Optional[str], username: Optional[str], password: Optional[str]) -> None:
- logger.info('Logging into custom registry.')
try:
engine = ctx.container_engine
cmd = [engine.path, 'login',