Skip to content

Commit

Permalink
manifest - meta & properties are optional
Browse files Browse the repository at this point in the history
  • Loading branch information
drnic committed May 13, 2015
1 parent 35c17a3 commit 12c1185
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions models/deployment_manifest.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package models

// DeploymentManifest describes all the configuration for any BOSH deployment
type DeploymentManifest struct {
Meta map[string]interface{}
Meta map[string]interface{} `yaml:"meta,omitempty"`
Name string
DirectorUUID string `yaml:"director_uuid"`
Releases []*NameVersion
Expand All @@ -11,7 +11,7 @@ type DeploymentManifest struct {
Networks []*manifestNetwork
ResourcePools []*manifestResourcePool `yaml:"resource_pools"`
Jobs []*ManifestJob
Properties *map[string]interface{}
Properties *map[string]interface{} `yaml:"properties,omitempty"`
}

type manifestCompilation struct {
Expand Down

0 comments on commit 12c1185

Please sign in to comment.