commit | dee6db9fa7d3ef202a1aa53bbd5b979b040fa212 | [log] [tgz] |
---|---|---|
author | Thugutla sailakshmi <tsaila10@in.ibm.com> | Thu Nov 07 12:51:21 2019 +0530 |
committer | Thugutla sailakshmi <tsaila10@in.ibm.com> | Thu Nov 07 12:51:30 2019 +0530 |
tree | fe00d9ae3b71cc3df4aadd94f67fbbbf131288d7 | |
parent | 333a035c095351e496328ec72c82beb65507e71b [diff] |
Owner,Delete files-removing useless assignments Issue-ID: AAF-876 Change-Id: I101010f20fc37872c740d68fee4083ce9feb92da Signed-off-by: Thugutla sailakshmi <tsaila10@in.ibm.com>
diff --git a/auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/ns/Owner.java b/auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/ns/Owner.java index fd43e8d..e93ec05 100644 --- a/auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/ns/Owner.java +++ b/auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/ns/Owner.java
@@ -49,7 +49,7 @@ final int option = whichOption(options, args[idx++]); final String ns = args[idx++]; - final String ids[] = args[idx++].split(","); + final String ids[] = args[idx].split(","); return same(new Retryable<Integer>() { @Override
diff --git a/auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/perm/Delete.java b/auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/perm/Delete.java index fc1f936..f53ca4c 100644 --- a/auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/perm/Delete.java +++ b/auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/perm/Delete.java
@@ -57,7 +57,7 @@ PermRequest pk = new PermRequest(); pk.setType(args[idx++]); pk.setInstance(args[idx++]); - pk.setAction(args[idx++]); + pk.setAction(args[idx]); if(pk.getType().contains("@")) { // User Perm deletion... Must remove from hidden role client.setQueryParams("force");