Skip to content

Commit

Permalink
minor change
Browse files Browse the repository at this point in the history
  • Loading branch information
Amogh-Bharadwaj committed Mar 19, 2024
1 parent fcd5f59 commit 1223faa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flow/dynamicconf/dynamicconf.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func dynamicConfNumber[T constraints.Integer](ctx context.Context, key string, d
return defaultValue
}

result, err := strconv.ParseUint(value.String, 10, 32)
result, err := strconv.ParseInt(value.String, 10, 64)
if err != nil {
logger.LoggerFromCtx(ctx).Error("Failed to parse uint32: %v", err)
return defaultValue
Expand Down

0 comments on commit 1223faa

Please sign in to comment.