Removed isRegisted check since that is causing a conflict with upstream

This commit is contained in:
david-harley 2021-01-11 11:00:54 +10:30
parent ac31901f31
commit a159495619

View file

@ -73,11 +73,6 @@ public class ListGroupsCommand implements LocalCommand {
@Override @Override
public int handleCommand(final Namespace ns, final Manager m) { public int handleCommand(final Namespace ns, final Manager m) {
if (!m.isRegistered()) {
System.err.println("User is not registered.");
return 1;
}
if (ns.getString("output").equals("json")) { if (ns.getString("output").equals("json")) {
final ObjectMapper jsonProcessor = new ObjectMapper(); final ObjectMapper jsonProcessor = new ObjectMapper();
jsonProcessor.setVisibility(PropertyAccessor.ALL, JsonAutoDetect.Visibility.ANY); jsonProcessor.setVisibility(PropertyAccessor.ALL, JsonAutoDetect.Visibility.ANY);