Skip to content

Commit

Permalink
use errors.Join. keeping xweb great!
Browse files Browse the repository at this point in the history
  • Loading branch information
dovholuknf committed Feb 6, 2025
1 parent d1ac94c commit 304d70d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion instance_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ func (config *InstanceConfig) Validate(registry Registry) error {
}

if len(errs) > 0 {
return fmt.Errorf("%v", errs)
return errors.Join(errs...)

Check failure on line 169 in instance_config.go

View workflow job for this annotation

GitHub Actions / Build Linux

undefined: errors.Join

Check failure on line 169 in instance_config.go

View workflow job for this annotation

GitHub Actions / Build Mac OS

undefined: errors.Join

Check failure on line 169 in instance_config.go

View workflow job for this annotation

GitHub Actions / Build Windows

undefined: errors.Join
}

for presentApiBinding, presentApiFactory := range presentApis {
Expand Down

0 comments on commit 304d70d

Please sign in to comment.