Просмотр исходного кода

Renamed Endpoints API WSGI action router method to '_validate_connection'.

Nashwan Azhari 8 лет назад
Родитель
Сommit
77a77dac9c
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      coriolis/api/v1/endpoint_actions.py

+ 1 - 1
coriolis/api/v1/endpoint_actions.py

@@ -14,7 +14,7 @@ class EndpointActionsController(api_wsgi.Controller):
         super(EndpointActionsController, self).__init__()
 
     @api_wsgi.action('validate-connection')
-    def _cancel(self, req, id, body):
+    def _validate_connection(self, req, id, body):
         try:
             is_valid, message = self._endpoint_api.validate_connection(
                 req.environ['coriolis.context'], id)