فهرست منبع

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

Nashwan Azhari 8 سال پیش
والد
کامیت
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)