Skip to content

Commit

Permalink
Update flow/dynamicconf/dynamicconf.go
Browse files Browse the repository at this point in the history
Co-authored-by: Kevin Biju <[email protected]>
  • Loading branch information
iskakaushik and heavycrystal authored Jan 11, 2024
1 parent ae6af1f commit f942619
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions flow/dynamicconf/dynamicconf.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@ func dynamicConfUint32(ctx context.Context, key string, defaultValue uint32) uin
return defaultValue
}

var result uint64
result, err = strconv.ParseUint(value.String, 10, 32)
result, err := strconv.ParseUint(value.String, 10, 32)
if err != nil {
slog.Error("Failed to parse uint32: %v", err)
return defaultValue
Expand Down

0 comments on commit f942619

Please sign in to comment.