Skip to content
This repository has been archived by the owner on Nov 15, 2022. It is now read-only.

Commit

Permalink
Merge pull request #149 from surajssd/remove_replicas
Browse files Browse the repository at this point in the history
Remove replicas from main app struct
  • Loading branch information
kadel committed Jul 13, 2017
2 parents bfa1a92 + a2dd89a commit 4b4e6b8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 3 additions & 1 deletion cmd/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,11 @@ package cmd

import (
"fmt"
"os"

pkgcmd "github.com/kedgeproject/kedge/pkg/cmd"

"github.com/spf13/cobra"
"os"
)

// Variables
Expand Down
4 changes: 3 additions & 1 deletion cmd/delete.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,11 @@ package cmd

import (
"fmt"
"os"

pkgcmd "github.com/kedgeproject/kedge/pkg/cmd"

"github.com/spf13/cobra"
"os"
)

// Variables
Expand Down
1 change: 0 additions & 1 deletion pkg/spec/spec.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ type PodSpecMod struct {

type App struct {
Name string `json:"name"`
Replicas *int32 `json:"replicas,omitempty"`
Labels map[string]string `json:"labels,omitempty"`
VolumeClaims []VolumeClaim `json:"volumeClaims,omitempty"`
ConfigMaps []ConfigMapMod `json:"configMaps,omitempty"`
Expand Down

0 comments on commit 4b4e6b8

Please sign in to comment.