Skip to content

Commit a143184

Browse files
committed
fix sa1507
1 parent 54b5602 commit a143184

File tree

6 files changed

+0
-8
lines changed

6 files changed

+0
-8
lines changed

src/KubernetesClient/Extensions.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,5 @@ public static T Initialize<T>(this T obj) where T : IKubernetesObject
4545

4646
internal static bool IsValidKubernetesName(this string value) => !Regex.IsMatch(value, "^[a-z0-9-]+$");
4747

48-
4948
}
5049
}

src/KubernetesClient/KubernetesClientConfiguration.ConfigFile.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
using k8s.Exceptions;
1414
using k8s.KubeConfigModels;
1515

16-
1716
namespace k8s
1817
{
1918
public partial class KubernetesClientConfiguration

src/KubernetesClient/KubernetesList.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ public class KubernetesList<T> : IMetadata<V1ListMeta>, IItems<T> where T : IKub
1717
Metadata = metadata;
1818
}
1919

20-
2120
/// <summary>
2221
/// Gets or sets aPIVersion defines the versioned schema of this
2322
/// representation of an object. Servers should convert recognized

src/KubernetesClient/ResourceQuantity.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,6 @@ public Suffixer(string suffix)
298298
public int Base { get; }
299299
public int Exponent { get; }
300300

301-
302301
public static string AppendMaxSuffix(Fraction value, SuffixFormat format)
303302
{
304303
if (value.IsZero)
@@ -325,7 +324,6 @@ public static string AppendMaxSuffix(Fraction value, SuffixFormat format)
325324
lastv = v;
326325
}
327326

328-
329327
if (minE == 0)
330328
{
331329
return $"{(decimal)lastv}";

src/KubernetesClient/generated/VersionConverter.cs

Lines changed: 0 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/KubernetesClient.Tests/Kubernetes.Exec.Tests.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,6 @@ await Disconnect(clientSocket, serverSocket,
9999
}
100100
}
101101

102-
103102
[Fact]
104103
public void GetExitCodeOrThrow_Success()
105104
{

0 commit comments

Comments
 (0)