1
0
mirror of https://github.com/rancher/types.git synced 2025-07-15 14:11:36 +00:00

Change snapshot type to pointer to bool

This commit is contained in:
galal-hussein 2018-11-07 01:48:26 +02:00 committed by Alena Prokharchyk
parent 7df4eae86a
commit c3a67ec64a

View File

@ -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