Revision e20dfe63 sdk/python/arvados/commands/keepdocker.py

View differences:

sdk/python/arvados/commands/keepdocker.py
111 111
def docker_image_compatible(api, image_hash):
112 112
    supported = api._rootDesc.get('dockerImageFormats', [])
113 113
    if not supported:
114
        logger.warn("server does not specify supported image formats (see docker_image_formats in server config). Continuing.")
115
        return True
114
        logger.warn("server does not specify supported image formats (see docker_image_formats in server config).")
115
        return False
116 116

  
117 117
    fmt = docker_image_format(image_hash)
118 118
    if fmt in supported:

Also available in: Unified diff