Skip to content
This repository has been archived by the owner on Aug 3, 2020. It is now read-only.

Commit

Permalink
Merge pull request #166 from joshwget/empty-log-options
Browse files Browse the repository at this point in the history
Send empty log options instead of nil
  • Loading branch information
ibuildthecloud authored Jun 14, 2016
2 parents f84110a + a7986ee commit 8235d05
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions rancher/configs.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 8235d05

Please sign in to comment.