mirror of
https://github.com/dianping/camel.git
synced 2024-11-10 09:13:26 +08:00
fix a stupid bug
This commit is contained in:
parent
b052af948d
commit
6f5b95e943
1 changed files with 2 additions and 2 deletions
|
@ -39,7 +39,7 @@ public abstract class ConfigUpgradeStep implements Step {
|
|||
public Map<String, String> getHeader() {
|
||||
Map<String, String> headers = super.getHeader();
|
||||
|
||||
headers.put(HEADER_STATUS, STATUS_FAIL);
|
||||
headers.put(HEADER_STATUS, STATUS_SUCCESS);
|
||||
return headers;
|
||||
}
|
||||
};
|
||||
|
@ -59,7 +59,7 @@ public abstract class ConfigUpgradeStep implements Step {
|
|||
public Map<String, String> getHeader() {
|
||||
Map<String, String> headers = super.getHeader();
|
||||
|
||||
headers.put(HEADER_STATUS, STATUS_SUCCESS);
|
||||
headers.put(HEADER_STATUS, STATUS_FAIL);
|
||||
return headers;
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue