Skip to content

Commit

Permalink
Remove null value key from shift.json
Browse files Browse the repository at this point in the history
  • Loading branch information
razzkumar committed Oct 30, 2019
1 parent a7429ee commit 4767d14
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions core/structs/structs.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,23 @@ package structs

// Env defines the structure for a single environment
type Env struct {
Bucket string `json:"bucket"`
Cluster string `json:"cluster"`
BuildCommand string `json:"buildCommand"`
Bucket string `json:"bucket,omitempty"`
Cluster string `json:"cluster,omitempty"`
BuildCommand string `json:"buildCommand,omitempty"`
}

// Project defines the overall structure for a project deployment.
type Project struct {
Name string `json:"name"`
Platform string `json:"platform"`
Profile string `json:"profile"`
Region string `json:"region"`
Type string `json:"type"`
DistDir string `json:"distDir"`
SlackURL string `json:"slackURL"`
Port string `json:"port"`
DockerFilePath string `json:"dockerFilePath"`
HealthCheckPath string `json:"healthCheckPath"`
Name string `json:"name,omitempty"`
Platform string `json:"platform,omitempty"`
Profile string `json:"profile,omitempty"`
Region string `json:"region,omitempty"`
Type string `json:"type,omitempty"`
DistDir string `json:"distDir,omitempty"`
SlackURL string `json:"slackURL,omitempty"`
Port string `json:"port,omitempty"`
DockerFilePath string `json:"dockerFilePath,omitempty"`
HealthCheckPath string `json:"healthCheckPath,omitempty"`
Env map[string]Env `json:"env"`
}

Expand Down

0 comments on commit 4767d14

Please sign in to comment.