fix a stupid bug

This commit is contained in:
leon.li 2016-09-01 12:18:00 +08:00
parent b052af948d
commit 6f5b95e943

View file

@ -39,7 +39,7 @@ public abstract class ConfigUpgradeStep implements Step {
public Map<String, String> getHeader() { public Map<String, String> getHeader() {
Map<String, String> headers = super.getHeader(); Map<String, String> headers = super.getHeader();
headers.put(HEADER_STATUS, STATUS_FAIL); headers.put(HEADER_STATUS, STATUS_SUCCESS);
return headers; return headers;
} }
}; };
@ -59,7 +59,7 @@ public abstract class ConfigUpgradeStep implements Step {
public Map<String, String> getHeader() { public Map<String, String> getHeader() {
Map<String, String> headers = super.getHeader(); Map<String, String> headers = super.getHeader();
headers.put(HEADER_STATUS, STATUS_SUCCESS); headers.put(HEADER_STATUS, STATUS_FAIL);
return headers; return headers;
} }
}; };