From c3a67ec64aaa9e253e48145d7c329f3714c3287b Mon Sep 17 00:00:00 2001 From: galal-hussein Date: Wed, 7 Nov 2018 01:48:26 +0200 Subject: [PATCH] Change snapshot type to pointer to bool --- apis/management.cattle.io/v3/rke_types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apis/management.cattle.io/v3/rke_types.go b/apis/management.cattle.io/v3/rke_types.go index 3d7d0576..44c249dc 100644 --- a/apis/management.cattle.io/v3/rke_types.go +++ b/apis/management.cattle.io/v3/rke_types.go @@ -178,7 +178,7 @@ type ETCDService struct { // External etcd prefix Path string `yaml:"path" json:"path,omitempty"` // Etcd Recurring snapshot Service - Snapshot bool `yaml:"snapshot" json:"snapshot,omitempty" norman:"default=true"` + Snapshot *bool `yaml:"snapshot" json:"snapshot,omitempty" norman:"default=true"` // Etcd snapshot Retention period Retention string `yaml:"retention" json:"retention,omitempty" norman:"default=3d"` // Etcd snapshot Creation period