From eadf2d46bdfe36a96cb8fd43136c3029a1a5d462 Mon Sep 17 00:00:00 2001 From: Klaus-Uwe Mitterer Date: Mon, 11 Feb 2019 15:45:41 +0000 Subject: [PATCH] Change status code --- imagebuilder/1 | 2 +- manager/views.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/imagebuilder/1 b/imagebuilder/1 index 5a2882f..39880d1 160000 --- a/imagebuilder/1 +++ b/imagebuilder/1 @@ -1 +1 @@ -Subproject commit 5a2882f08e30e4e9b8945d84e53c228ed2cfbeff +Subproject commit 39880d1ec72ccfad13a6837960d07e577dc36151 diff --git a/manager/views.py b/manager/views.py index 95e4900..e4bbf12 100644 --- a/manager/views.py +++ b/manager/views.py @@ -319,7 +319,7 @@ def getconfig(request, device_id): device = get_object_or_404(Device, id=device_id) if not mkfirmware(device, FWDIR): - return HttpResponse(status=502) + return HttpResponse(status=503) sigUpdateDevice(device.serial, None, False) device.update = False