Skip to content

Commit b416444

Browse files
committed
fix attribute related warning
1 parent 2f17ef4 commit b416444

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/KubernetesClient/ChannelIndex.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ namespace k8s
55
/// pod.
66
/// </summary>
77
/// <seealso href="https://github.com/kubernetes/kubernetes/blob/master/pkg/kubelet/server/remotecommand/websocket.go#L29"/>
8+
[System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1028:Enum Storage should be Int32", Justification = "byte only")]
89
public enum ChannelIndex : byte
910
{
1011
/// <summary>

src/KubernetesClient/KubernetesEntityAttribute.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ namespace k8s.Models
55
/// <summary>
66
/// Describes object type in Kubernetes
77
/// </summary>
8+
[AttributeUsage(AttributeTargets.Class)]
89
public sealed class KubernetesEntityAttribute : Attribute
910
{
1011
/// <summary>

0 commit comments

Comments
 (0)