diff --git a/cloudkitty/api/app.py b/cloudkitty/api/app.py index f843d3dd..55593439 100644 --- a/cloudkitty/api/app.py +++ b/cloudkitty/api/app.py @@ -45,12 +45,12 @@ auth_opts = [ ] api_opts = [ - cfg.StrOpt('host_ip', - default="0.0.0.0", - help='Host serving the API.'), - cfg.IntOpt('port', - default=8888, - help='Host port serving the API.'), + cfg.IPOpt('host_ip', + default="0.0.0.0", + help='Host serving the API.'), + cfg.PortOpt('port', + default=8888, + help='Host port serving the API.'), cfg.BoolOpt('pecan_debug', default=False, help='Toggle Pecan Debug Middleware.'),