Fix build error in SetProjectCommand
This was a merge error caused by Martin and I both merging incompatible changes at the same time. I merged something that modified this API, Martin merged a new caller of the API. Change-Id: Iee5e2479f24d7a1e151c670a1f10a071c9547f84
This commit is contained in:
@@ -130,9 +130,7 @@ final class SetProjectCommand extends SshCommand {
|
||||
project.setState(state != null ? state : project.getState());
|
||||
|
||||
md.setMessage("Project settings updated");
|
||||
if (!config.commit(md)) {
|
||||
err.append("error: Could not update project " + name + "\n");
|
||||
}
|
||||
config.commit(md);
|
||||
} finally {
|
||||
md.close();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user