Skip to content

Commit a20419b

Browse files
committed
refactor: remove unnecessary CultureInfo parameter in ToInt method
1 parent c1a7c99 commit a20419b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/KubernetesClient/Models/IntOrString.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
using System.Globalization;
2-
31
namespace k8s.Models
42
{
53
[JsonConverter(typeof(IntOrStringJsonConverter))]
@@ -34,7 +32,7 @@ public override string ToString()
3432

3533
public int ToInt()
3634
{
37-
return int.Parse(Value, CultureInfo.InvariantCulture);
35+
return int.Parse(Value);
3836
}
3937
}
4038
}

0 commit comments

Comments
 (0)