Martin Peřina has posted comments on this change.

Change subject: core, tools: Supporting change password Url presentation
......................................................................


Patch Set 5:

(2 comments)

http://gerrit.ovirt.org/#/c/23250/5/backend/manager/tools/src/main/java/org/ovirt/engine/core/domains/ManageDomains.java
File 
backend/manager/tools/src/main/java/org/ovirt/engine/core/domains/ManageDomains.java:

Line 346:     }
Line 347: 
Line 348:     protected String getChangePasswordUrl(CLIParser parser) throws 
ManageDomainsResult {
Line 349:         String changePasswordUrl = 
parser.getArg(Arguments.changePasswordUrl.name());
Line 350:         if (StringUtils.isEmpty(changePasswordUrl)) {
You defined changePasswordUrl as optional in help, but this condition makes it 
mandatory. Am I missing something?
Line 351:             throw new 
ManageDomainsResult(ManageDomainsResultEnum.INVALID_ARGUMENT_FOR_COMMAND,
Line 352:                     "Password change URL must not be empty");
Line 353:         }
Line 354:         try {


Line 637:         return result;
Line 638:     }
Line 639: 
Line 640:     public void editDomain(CLIParser parser) throws 
ManageDomainsResult {
Line 641:         System.out.println("editting domain");
Please remove this line
Line 642:         String authMode;
Line 643:         String domainName = 
parser.getArg(Arguments.domain.toString()).toLowerCase();
Line 644:         authMode = getDomainAuthMode(domainName);
Line 645:         validateKdcServers(authMode, domainName);


-- 
To view, visit http://gerrit.ovirt.org/23250
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I8eb0f858e26bdefffe526623d025fac47791711e
Gerrit-PatchSet: 5
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Yair Zaslavsky <[email protected]>
Gerrit-Reviewer: Itamar Heim <[email protected]>
Gerrit-Reviewer: Juan Hernandez <[email protected]>
Gerrit-Reviewer: Martin Peřina <[email protected]>
Gerrit-Reviewer: Yair Zaslavsky <[email protected]>
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to