From c9bfb18b1c7d5432f59827bd299653a56c7bd92b Mon Sep 17 00:00:00 2001 From: Dane Everitt Date: Sat, 16 Nov 2019 13:34:05 -0800 Subject: [PATCH] Update to match new yaml format --- server/server.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/server/server.go b/server/server.go index 9f21fe3..7dc45ce 100644 --- a/server/server.go +++ b/server/server.go @@ -35,7 +35,7 @@ type Server struct { // An array of environment variables that should be passed along to the running // server process. - EnvVars map[string]string `json:"environment" yaml:"env"` + EnvVars map[string]string `json:"environment" yaml:"environment"` Build *BuildSettings `json:"build"` Allocations *Allocations `json:"allocations"` @@ -45,15 +45,15 @@ type Server struct { Image string `json:"image,omitempty"` } `json:"container,omitempty"` - Environment Environment `json:"-"` + Environment Environment `json:"-" yaml:"-"` - Filesystem *Filesystem `json:"-"` + Filesystem *Filesystem `json:"-" yaml:"-"` Resources *ResourceUsage `json:"resources"` // Server cache used to store frequently requested information in memory and make // certain long operations return faster. For example, FS disk space usage. - Cache *cache.Cache `json:"-"` + Cache *cache.Cache `json:"-" yaml:"-"` // All of the registered event listeners for this server instance. listeners EventListeners