Skip to content
This repository has been archived by the owner on Mar 25, 2024. It is now read-only.

Converting bool fields to string to correctly detect if they are set via reflection #5

Merged
merged 1 commit into from
Oct 1, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tool.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ type RancherConfig struct {
Certs []string `yaml:"certs,omitempty"`
Type string `yaml:"type,omitempty"`
Scale string `yaml:"scale,omitempty"`
RetainIP bool `yaml:"retain_ip,omitempty"`
StartOnCreate bool `yaml:"start_on_create,omitempty"`
RetainIP string `yaml:"retain_ip,omitempty"`
StartOnCreate string `yaml:"start_on_create,omitempty"`
DrainTimeoutMs string `yaml:"drain_timeout_ms,omitempty"`
ExternalIps []string `yaml:"external_ips,omitempty"`
HealthCheck map[string]interface{} `yaml:"health_check,omitempty"`
Expand Down