Skip to content

Commit a44eacd

Browse files
committed
use title case for object names
1 parent c92f72b commit a44eacd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

api/src/main/java/org/apache/cloudstack/api/command/user/network/ImportNetworkACLCmd.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
import com.cloud.network.vpc.NetworkACLItem;
3838
import com.cloud.user.Account;
3939

40-
@APICommand(name = "importNetworkACL", description = "Imports network ACL rules.",
40+
@APICommand(name = "importNetworkACL", description = "Imports Network ACL rules.",
4141
responseObject = NetworkACLItemResponse.class,
4242
requestHasSensitiveInfo = false, responseHasSensitiveInfo = false,
4343
since = "4.22.1")
@@ -52,7 +52,7 @@ public class ImportNetworkACLCmd extends BaseAsyncCmd {
5252
type = CommandType.UUID,
5353
entityType = NetworkACLResponse.class,
5454
required = true,
55-
description = "The ID of the network ACL to which the rules will be imported"
55+
description = "The ID of the Network ACL to which the rules will be imported"
5656
)
5757
private Long aclId;
5858

@@ -126,7 +126,7 @@ private void validateParams() {
126126
}
127127

128128
if (getAclId() == null || _networkACLService.getNetworkACL(getAclId()) == null) {
129-
throw new ServerApiException(ApiErrorCode.PARAM_ERROR, "Unable to find network ACL with provided aclid");
129+
throw new ServerApiException(ApiErrorCode.PARAM_ERROR, "Unable to find Network ACL with provided ACL ID");
130130
}
131131
}
132132
}

0 commit comments

Comments
 (0)