func (c *WaitConfig) Finalize() {
	if c.Enabled == nil {
		c.Enabled = Bool(TimeDurationPresent(c.Min))
	}

	if c.Min == nil {
		c.Min = TimeDuration(0 * time.Second)
	}

	if c.Max == nil {
		c.Max = TimeDuration(4 * *c.Min)
	}
}
func (c *WaitConfig) Finalize() {
	if c.Enabled == nil {
		c.Enabled = Bool(TimeDurationPresent(c.Min))
	}

	if c.Min == nil {
		c.Min = TimeDuration(0 * time.Second)
	}

	if c.Max == nil {
		c.Max = TimeDuration(4 * *c.Min)
	}
}
func ( c * WaitConfig ) Finalize ( ) { if c . Enabled == nil { c . Enabled = Bool ( TimeDurationPresent ( c . Min ) ) } if c . Min == nil { c . Min = TimeDuration ( 0 * time . Second ) } if c . Max == nil { c . Max = TimeDuration ( 4 * * c . Min ) } }
// Finalize ensures there no nil pointers.
Finalize ensures there no nil pointers .