mirror of
https://github.com/anchore/syft.git
synced 2026-02-13 19:16:43 +01:00
Signed-off-by: Keith Zantow <kzantow@gmail.com> Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com> Co-authored-by: Alex Goodman <wagoodman@users.noreply.github.com>
12 lines
322 B
Go
12 lines
322 B
Go
package options
|
|
|
|
type UpdateCheck struct {
|
|
CheckForAppUpdate bool `yaml:"check-for-app-update" json:"check-for-app-update" mapstructure:"check-for-app-update"` // whether to check for an application update on start up or not
|
|
}
|
|
|
|
func DefaultUpdateCheck() UpdateCheck {
|
|
return UpdateCheck{
|
|
CheckForAppUpdate: true,
|
|
}
|
|
}
|