Skip to content

Commit 40c8bc5

Browse files
daviftorresDavi TorresDaanHoogland
authored
Keeping consistency with other error messages. (apache#11649)
Co-authored-by: Davi Torres <[email protected]> Co-authored-by: dahn <[email protected]>
1 parent 8c86f24 commit 40c8bc5

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

api/src/main/java/org/apache/cloudstack/api/command/user/loadbalancer/UpdateLBHealthCheckPolicyCmd.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public long getEntityOwnerId() {
6363

6464
@Override
6565
public String getEventDescription() {
66-
return "Update load balancer health check policy ID= " + id;
66+
return "Update load balancer health check policy ID = " + id;
6767
}
6868

6969
@Override

api/src/main/java/org/apache/cloudstack/api/command/user/loadbalancer/UpdateLBStickinessPolicyCmd.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public long getEntityOwnerId() {
6262

6363
@Override
6464
public String getEventDescription() {
65-
return "Update load balancer stickiness policy ID= " + id;
65+
return "Update load balancer stickiness policy ID = " + id;
6666
}
6767

6868
@Override

api/src/main/java/org/apache/cloudstack/api/command/user/vpn/UpdateVpnConnectionCmd.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public long getEntityOwnerId() {
6666

6767
@Override
6868
public String getEventDescription() {
69-
return "Updating site-to-site VPN connection id= " + id;
69+
return "Updating site-to-site VPN connection ID = " + id;
7070
}
7171

7272
@Override

api/src/main/java/org/apache/cloudstack/api/command/user/vpn/UpdateVpnGatewayCmd.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public long getEntityOwnerId() {
6363

6464
@Override
6565
public String getEventDescription() {
66-
return "Update site-to-site VPN gateway id= " + id;
66+
return "Update site-to-site VPN gateway ID = " + id;
6767
}
6868

6969
@Override

engine/schema/src/main/java/com/cloud/vm/dao/UserVmDaoImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -782,7 +782,7 @@ public List<Ternary<Integer, Integer, Integer>> countVmsBySize(long dcId, int li
782782
result.add(new Ternary<Integer, Integer, Integer>(rs.getInt(1), rs.getInt(2), rs.getInt(3)));
783783
}
784784
} catch (Exception e) {
785-
logger.warn("Error counting vms by size for dcId= " + dcId, e);
785+
logger.warn("Error counting vms by size for Data Center ID = " + dcId, e);
786786
}
787787
return result;
788788
}

engine/schema/src/main/java/com/cloud/vm/dao/VMInstanceDaoImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -886,7 +886,7 @@ public Long countByZoneAndStateAndHostTag(long dcId, State state, String hostTag
886886
return rs.getLong(1);
887887
}
888888
} catch (Exception e) {
889-
logger.warn(String.format("Error counting vms by host tag for dcId= %s, hostTag= %s", dcId, hostTag), e);
889+
logger.warn(String.format("Error counting vms by host tag for dcId = %s, hostTag = %s", dcId, hostTag), e);
890890
}
891891
return 0L;
892892
}

server/src/main/java/com/cloud/api/query/QueryManagerImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2106,7 +2106,7 @@ private Pair<List<ProjectJoinVO>, Integer> listProjectsInternal(ListProjectsCmd
21062106
}
21072107

21082108
if (domainId != null && !domainId.equals(caller.getDomainId())) {
2109-
throw new PermissionDeniedException("Can't list domain id= " + domainId + " projects; unauthorized");
2109+
throw new PermissionDeniedException("Can't list domain ID = " + domainId + " projects; unauthorized");
21102110
}
21112111

21122112
if (StringUtils.isNotEmpty(username) && !username.equals(user.getUsername())) {

0 commit comments

Comments
 (0)