mirror of
https://github.com/apache/cloudstack.git
synced 2025-12-15 18:12:35 +01:00
Keeping consistency with other error messages. (#11649)
Co-authored-by: Davi Torres <dtorres@simnet.ca> Co-authored-by: dahn <daan.hoogland@gmail.com>
This commit is contained in:
parent
8c86f24261
commit
40c8bc528d
@ -63,7 +63,7 @@ public class UpdateLBHealthCheckPolicyCmd extends BaseAsyncCustomIdCmd{
|
||||
|
||||
@Override
|
||||
public String getEventDescription() {
|
||||
return "Update load balancer health check policy ID= " + id;
|
||||
return "Update load balancer health check policy ID = " + id;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@ -62,7 +62,7 @@ public class UpdateLBStickinessPolicyCmd extends BaseAsyncCustomIdCmd{
|
||||
|
||||
@Override
|
||||
public String getEventDescription() {
|
||||
return "Update load balancer stickiness policy ID= " + id;
|
||||
return "Update load balancer stickiness policy ID = " + id;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@ -66,7 +66,7 @@ public class UpdateVpnConnectionCmd extends BaseAsyncCustomIdCmd {
|
||||
|
||||
@Override
|
||||
public String getEventDescription() {
|
||||
return "Updating site-to-site VPN connection id= " + id;
|
||||
return "Updating site-to-site VPN connection ID = " + id;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@ -63,7 +63,7 @@ public class UpdateVpnGatewayCmd extends BaseAsyncCustomIdCmd {
|
||||
|
||||
@Override
|
||||
public String getEventDescription() {
|
||||
return "Update site-to-site VPN gateway id= " + id;
|
||||
return "Update site-to-site VPN gateway ID = " + id;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@ -782,7 +782,7 @@ public class UserVmDaoImpl extends GenericDaoBase<UserVmVO, Long> implements Use
|
||||
result.add(new Ternary<Integer, Integer, Integer>(rs.getInt(1), rs.getInt(2), rs.getInt(3)));
|
||||
}
|
||||
} catch (Exception e) {
|
||||
logger.warn("Error counting vms by size for dcId= " + dcId, e);
|
||||
logger.warn("Error counting vms by size for Data Center ID = " + dcId, e);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
@ -886,7 +886,7 @@ public class VMInstanceDaoImpl extends GenericDaoBase<VMInstanceVO, Long> implem
|
||||
return rs.getLong(1);
|
||||
}
|
||||
} catch (Exception e) {
|
||||
logger.warn(String.format("Error counting vms by host tag for dcId= %s, hostTag= %s", dcId, hostTag), e);
|
||||
logger.warn(String.format("Error counting vms by host tag for dcId = %s, hostTag = %s", dcId, hostTag), e);
|
||||
}
|
||||
return 0L;
|
||||
}
|
||||
|
||||
@ -2106,7 +2106,7 @@ public class QueryManagerImpl extends MutualExclusiveIdsManagerBase implements Q
|
||||
}
|
||||
|
||||
if (domainId != null && !domainId.equals(caller.getDomainId())) {
|
||||
throw new PermissionDeniedException("Can't list domain id= " + domainId + " projects; unauthorized");
|
||||
throw new PermissionDeniedException("Can't list domain ID = " + domainId + " projects; unauthorized");
|
||||
}
|
||||
|
||||
if (StringUtils.isNotEmpty(username) && !username.equals(user.getUsername())) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user