Shireesh Anjal has posted comments on this change. Change subject: engine: Added new canDoAction check for gluster ......................................................................
Patch Set 2: (1 inline comment) Answer to Alon's question in-line. .................................................... File backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/AddVdsCommand.java Line 82: @Override Line 83: protected void setActionMessageParameters() { Line 84: addCanDoActionMessage(VdcBllMessages.VAR__ACTION__ADD); Line 85: addCanDoActionMessage(VdcBllMessages.VAR__TYPE__HOST); Line 86: addCanDoActionMessage(String.format("$server %1$s", getParameters().getvds().getHostName())); No. Here, I am adding a custom variable "server" with value as the hostname, so that I can use it in the message in AppErrors.properties. This cannot be added to VdcBllMessages. Line 87: } Line 88: Line 89: @Override Line 90: protected void executeCommand() { -- To view, visit http://gerrit.ovirt.org/13980 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I81427fa940bf1edabf316acebc428becac0171f8 Gerrit-PatchSet: 2 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Shireesh Anjal <san...@redhat.com> Gerrit-Reviewer: Allon Mureinik <amure...@redhat.com> Gerrit-Reviewer: Alon Bar-Lev <alo...@redhat.com> Gerrit-Reviewer: Daniel Erez <de...@redhat.com> Gerrit-Reviewer: Gilad Chaplik <gchap...@redhat.com> Gerrit-Reviewer: Kanagaraj M <kmayi...@redhat.com> Gerrit-Reviewer: Omer Frenkel <ofren...@redhat.com> Gerrit-Reviewer: Sahina Bose <sab...@redhat.com> Gerrit-Reviewer: Shireesh Anjal <san...@redhat.com> Gerrit-Reviewer: Vijay Bellur <vbel...@gmail.com> Gerrit-Reviewer: Yair Zaslavsky <yzasl...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches