Merge ~r00ta/maas:remove_redundant_declaration into maas:master

Proposed by Jacopo Rota
Status: Merged
Approved by: Jacopo Rota
Approved revision: e44230d663b953717fb6431e09a3b649d8a109a4
Merge reported by: MAAS Lander
Merged at revision: not available
Proposed branch: ~r00ta/maas:remove_redundant_declaration
Merge into: maas:master
Diff against target: 12 lines (+0/-1)
1 file modified
src/metadataserver/api.py (+0/-1)
Reviewer Review Type Date Requested Status
MAAS Lander Approve
Stamatis Katsaounis Approve
Review via email: mp+464105@code.launchpad.net

Commit message

fix: remove redundant variable declaration in signal handler

To post a comment you must log in.
Revision history for this message
Stamatis Katsaounis (skatsaounis) :
review: Approve
Revision history for this message
MAAS Lander (maas-lander) wrote :

UNIT TESTS
-b remove_redundant_declaration lp:~r00ta/maas/+git/maas into -b master lp:~maas-committers/maas

STATUS: SUCCESS
COMMIT: e44230d663b953717fb6431e09a3b649d8a109a4

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/src/metadataserver/api.py b/src/metadataserver/api.py
2index 40696f7..6adaca9 100644
3--- a/src/metadataserver/api.py
4+++ b/src/metadataserver/api.py
5@@ -830,7 +830,6 @@ class VersionIndexHandler(MetadataViewHandler):
6 """
7 node = get_queried_node(request, for_mac=mac)
8 status = get_mandatory_param(request.POST, "status", String)
9- target_status = None
10
11 # These statuses are acceptable for commissioning, disk erasing,
12 # entering rescue mode and deploying.

Subscribers

People subscribed via source and target branches