Skip to content

Commit

Permalink
Update bind.go
Browse files Browse the repository at this point in the history
  • Loading branch information
lemon-mint authored May 29, 2024
1 parent 60c9870 commit 16829b0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions bind.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,6 @@ func BindStruct(config interface{}, provider dataProvider) error {
if required {
return fmt.Errorf("failed to get value for field %s: %w", fieldType.Name, err)
} else {
// Log the error, but don't fail.
fmt.Printf("warning: failed to get value for field %s: %v\n", fieldType.Name, err)
continue
}
}
Expand Down

0 comments on commit 16829b0

Please sign in to comment.