func (e *ModelWatcher) UpdateStatusHookInterval() (time.Duration, error) {
	// TODO(wallyworld) - lp:1602237 - this needs to have it's own backend implementation.
	// For now, we'll piggyback off the ModelConfig API.
	modelConfig, err := e.ModelConfig()
	if err != nil {
		return 0, err
	}
	return modelConfig.UpdateStatusHookInterval(), nil
}
// UpdateStatusHookInterval returns the current update status hook interval.
UpdateStatusHookInterval returns the current update status hook interval.
// UpdateStatusHookInterval returns the current update status hook interval .
func (e *ModelWatcher) UpdateStatusHookInterval() (time.Duration, error) {
	modelConfig, err := e.ModelConfig()
	if err != nil {
		return 0, err
	}
	return modelConfig.UpdateStatusHookInterval(), nil
}
func ( e * ModelWatcher ) UpdateStatusHookInterval ( ) ( time . Duration , error ) { modelConfig , err := e . ModelConfig ( ) if err != nil { return 0 , err } return modelConfig . UpdateStatusHookInterval ( ) , nil }
UpdateStatusHookInterval returns the current update status hook interval.
UpdateStatusHookInterval returns the current update status hook interval .
// TODO(wallyworld) - lp:1602237 - this needs to have it's own backend implementation. // For now, we'll piggyback off the ModelConfig API.