no warning needed if it's admin or domain_admin rather than normal user

This commit is contained in:
Alex Heneveld 2012-11-30 15:57:49 -08:00
parent 95b220f26f
commit 29cd4efab3
1 changed files with 0 additions and 4 deletions

View File

@ -26,7 +26,6 @@ import javax.annotation.Resource;
import javax.inject.Inject;
import org.jclouds.cloudstack.CloudStackClient;
import org.jclouds.cloudstack.domain.Account;
import org.jclouds.cloudstack.domain.User;
import org.jclouds.cloudstack.predicates.UserPredicates;
import org.jclouds.logging.Logger;
@ -66,9 +65,6 @@ public class GetCurrentUser implements Supplier<User> {
users));
}
if (currentUser.getAccountType() != Account.Type.USER) {
logger.warn("Expecting an user account: %s", currentUser);
}
return currentUser;
}
}