Commit e43ab85a authored by Lukas Burgey's avatar Lukas Burgey
Browse files

Change some minor detail

parent a10f52e1
......@@ -7,7 +7,9 @@ from rest_framework.response import Response
from rest_framework import status
from . import serializers, models as frontend_models
from .. import models, logging
from .. import models
import logging
logger = logging.getLogger(__name__)
def _api_error_response():
......@@ -105,8 +107,9 @@ class DeploymentView(views.APIView):
'key' not in request.data or
'service' not in request.data
):
logging.logger.error(
'Deployment api got invalid request {}'.format(request.data))
logger.error(
'Deployment api got invalid request {}'.format(
request.data))
return _api_error_response()
request_type = request.data['type']
......
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