Skip to content

Commit

Permalink
replicas
Browse files Browse the repository at this point in the history
  • Loading branch information
John-Lin committed Sep 6, 2018
1 parent 9131f6b commit 4a25ec8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/server/handler_deployment.go
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,7 @@ func uploadDeploymentYAMLHandler(ctx *web.Context) {
Name: deploymentObj.ObjectMeta.Name,
Namespace: deploymentObj.ObjectMeta.Namespace,
NetworkType: entity.DeploymentClusterNetwork,
Replicas: *deploymentObj.Spec.Replicas,
}

if d.Namespace == "" {
Expand Down

0 comments on commit 4a25ec8

Please sign in to comment.