Skip to content

Commit 8dde3ac

Browse files
committed
Rebase on master
1 parent 3e2eac0 commit 8dde3ac

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

src/KubernetesClient/ModelExtensions.cs

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -353,18 +353,4 @@ public static bool Matches(this V1OwnerReference owner, IKubernetesObject<V1Obje
353353
return owner.ApiVersion == obj.ApiVersion && owner.Kind == obj.Kind && owner.Name == obj.Name() && owner.Uid == obj.Uid();
354354
}
355355
}
356-
357-
public partial class V1Status
358-
{
359-
/// <summary>Converts a <see cref="V1Status"/> object representing an error into a short description of the error.</summary>
360-
public override string ToString()
361-
{
362-
string reason = Reason;
363-
if (string.IsNullOrEmpty(reason) && Code.GetValueOrDefault() != 0)
364-
{
365-
reason = ((HttpStatusCode)Code.Value).ToString();
366-
}
367-
return string.IsNullOrEmpty(Message) ? reason : string.IsNullOrEmpty(reason) ? Message : $"{reason} - {Message}";
368-
}
369-
}
370356
}

0 commit comments

Comments
 (0)