This is an automated email from the ASF dual-hosted git repository.
weizhouapache pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cloudstack.git
The following commit(s) were added to refs/heads/main by this push:
new 44ab7dd85d4 api: replace \" with \' in
CreateKubernetesClusterCmd.java (#14044)
44ab7dd85d4 is described below
commit 44ab7dd85d4e90a6f429e4446b169e207e07ffaf
Author: dahn <[email protected]>
AuthorDate: Thu Sep 3 17:27:47 2026 +0200
api: replace \" with \' in CreateKubernetesClusterCmd.java (#14044)
---
.../user/kubernetes/cluster/CreateKubernetesClusterCmd.java | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git
a/plugins/integrations/kubernetes-service/src/main/java/org/apache/cloudstack/api/command/user/kubernetes/cluster/CreateKubernetesClusterCmd.java
b/plugins/integrations/kubernetes-service/src/main/java/org/apache/cloudstack/api/command/user/kubernetes/cluster/CreateKubernetesClusterCmd.java
index dd4c56ad3fe..8bf0f362550 100644
---
a/plugins/integrations/kubernetes-service/src/main/java/org/apache/cloudstack/api/command/user/kubernetes/cluster/CreateKubernetesClusterCmd.java
+++
b/plugins/integrations/kubernetes-service/src/main/java/org/apache/cloudstack/api/command/user/kubernetes/cluster/CreateKubernetesClusterCmd.java
@@ -117,16 +117,16 @@ public class CreateKubernetesClusterCmd extends
BaseAsyncCreateCmd {
@ACL(accessType = AccessType.UseEntry)
@Parameter(name = ApiConstants.NODE_TYPE_OFFERING_MAP, type =
CommandType.MAP,
description = "(Optional) Node Type to Service Offering ID
mapping. If provided, it overrides the serviceofferingid parameter. " +
- "Example:
nodeofferings[0].node=\"control\"&nodeofferings[0].offering=\"<service-offering-uuid>\"&"
+
-
"nodeofferings[1].node=\"worker\"&nodeofferings[1].offering=\"<service-offering-uuid>\"",
+ "Example:
nodeofferings[0].node='control'&nodeofferings[0].offering='<service-offering-uuid>'&"
+
+
"nodeofferings[1].node='worker'&nodeofferings[1].offering='<service-offering-uuid>'",
since = "4.21.0")
private Map<String, Map<String, String>> serviceOfferingNodeTypeMap;
@ACL(accessType = AccessType.UseEntry)
@Parameter(name = ApiConstants.NODE_TYPE_TEMPLATE_MAP, type =
CommandType.MAP,
description = "(Optional) Node Type to Template ID mapping. If
provided, it overrides the default template: System VM template. " +
- "Example:
nodetemplates[0].node=\"control\"&nodetemplates[0].template=\"<template-uuid>\"&"
+
-
"nodetemplates[1].node=\"worker\"&nodetemplates[1].template=\"<template-uuid>\"",
+ "Example:
nodetemplates[0].node='control'&nodetemplates[0].template='<template-uuid>'&" +
+
"nodetemplates[1].node='worker'&nodetemplates[1].template='<template-uuid>'",
since = "4.21.0")
private Map<String, Map<String, String>> templateNodeTypeMap;