Skip to content

Commit 8c64798

Browse files
author
Christoph Bühler
committed
refactor: use new naming schema instead of subclass
1 parent b05b43b commit 8c64798

File tree

2 files changed

+1
-15
lines changed

2 files changed

+1
-15
lines changed

src/KubeOps/Operator/Commands/Generators/CrdGenerator.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
using KubeOps.Operator.KubernetesEntities;
1313
using KubeOps.Operator.Serialization;
1414
using McMaster.Extensions.CommandLineUtils;
15-
using V1JSONSchemaProps = k8s.Models.V1JSONSchemaProps;
1615

1716
namespace KubeOps.Operator.Commands.Generators
1817
{
@@ -145,7 +144,7 @@ private static V1JSONSchemaProps MapProperty(PropertyInfo info)
145144

146145
private static V1JSONSchemaProps MapType(Type type)
147146
{
148-
var props = new KubernetesEntities.V1JSONSchemaProps();
147+
var props = new V1JSONSchemaProps();
149148

150149
// this description is on the class
151150
props.Description = type.GetCustomAttributes<DisplayAttribute>(true).FirstOrDefault()?.Description;

src/KubeOps/Operator/KubernetesEntities/V1JSONSchemaProps.cs

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)