From a7986ee5fc28d87d12f3c0b73e2857d222179d07 Mon Sep 17 00:00:00 2001 From: Josh Curl Date: Wed, 8 Jun 2016 15:31:19 -0700 Subject: [PATCH] Send empty log options instead of nil --- rancher/configs.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rancher/configs.go b/rancher/configs.go index bad41b57..f8a508fb 100644 --- a/rancher/configs.go +++ b/rancher/configs.go @@ -98,6 +98,10 @@ func createLaunchConfig(r *RancherService, name string, serviceConfig *config.Se result.Kind = "virtualMachine" } + if result.LogConfig.Config == nil { + result.LogConfig.Config = map[string]interface{}{} + } + return result, err }