Commit b45ed47c authored by Daniele Venzano's avatar Daniele Venzano

Fix sonarqube warnings

parent 447db150
......@@ -48,7 +48,7 @@ def delete_tag_cmd(args):
def main():
"""Main entrypoint."""
parser = argparse.ArgumentParser(description="Docker Registry client")
parser.add_argument("-r", "--registry", help="Registry URL", default="http:127.0.0.1:5000")
parser.add_argument("-r", "--registry", help="Registry URL", default="http://127.0.0.1:5000")
subparser = parser.add_subparsers()
......
......@@ -26,12 +26,7 @@ from zoe_lib.version import ZOE_API_VERSION, ZOE_VERSION
def web_init(api_endpoint) -> List[tornado.web.URLSpec]:
"""Flask init for the web interface."""
# def before_request():
# """Use the Flask global to hold the api endpoint reference."""
# g.api_endpoint = api_endpoint
# web_bp = Blueprint('web', __name__, template_folder='templates', static_folder='static')
"""Tornado init for the web interface."""
route_args = {
'api_endpoint': api_endpoint
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment