You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ro...@apache.org on 2020/10/14 10:25:36 UTC
[cloudstack] branch 4.14 updated: api: Making id a required field
in scalekubernetesclustercmd (#4404)
This is an automated email from the ASF dual-hosted git repository.
rohit pushed a commit to branch 4.14
in repository https://gitbox.apache.org/repos/asf/cloudstack.git
The following commit(s) were added to refs/heads/4.14 by this push:
new 16bb053 api: Making id a required field in scalekubernetesclustercmd (#4404)
16bb053 is described below
commit 16bb05351a67db5fbf502c9dde64020dc23e6183
Author: davidjumani <dj...@gmail.com>
AuthorDate: Wed Oct 14 15:55:22 2020 +0530
api: Making id a required field in scalekubernetesclustercmd (#4404)
---
.../api/command/user/kubernetes/cluster/ScaleKubernetesClusterCmd.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/integrations/kubernetes-service/src/main/java/org/apache/cloudstack/api/command/user/kubernetes/cluster/ScaleKubernetesClusterCmd.java b/plugins/integrations/kubernetes-service/src/main/java/org/apache/cloudstack/api/command/user/kubernetes/cluster/ScaleKubernetesClusterCmd.java
index 994b399..574d8a7 100644
--- a/plugins/integrations/kubernetes-service/src/main/java/org/apache/cloudstack/api/command/user/kubernetes/cluster/ScaleKubernetesClusterCmd.java
+++ b/plugins/integrations/kubernetes-service/src/main/java/org/apache/cloudstack/api/command/user/kubernetes/cluster/ScaleKubernetesClusterCmd.java
@@ -57,7 +57,7 @@ public class ScaleKubernetesClusterCmd extends BaseAsyncCmd {
/////////////////////////////////////////////////////
//////////////// API parameters /////////////////////
/////////////////////////////////////////////////////
- @Parameter(name = ApiConstants.ID, type = CommandType.UUID,
+ @Parameter(name = ApiConstants.ID, type = CommandType.UUID, required = true,
entityType = KubernetesClusterResponse.class,
description = "the ID of the Kubernetes cluster")
private Long id;