Skip to content

Commit

Permalink
feat(validate): strict checking for nodeconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
budimanjojo committed Jul 9, 2022
1 parent 3bb4c30 commit 7f6b728
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/talos/validate.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ func ValidateConfigFromBytes(cfgFile []byte, mode string) error {
return err
}

opts := []config.ValidationOption{config.WithLocal()}
opts := []config.ValidationOption{config.WithLocal(), config.WithStrict()}

warnings, err := cfg.Validate(m, opts...)
for _, w := range warnings {
Expand Down

0 comments on commit 7f6b728

Please sign in to comment.