forked from fabric8io/kubernetes-client
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix x-kubernetes-preserve-unknown-fields mistakenly added to parent o…
…bject
- Loading branch information
1 parent
fe1d399
commit cbdef55
Showing
4 changed files
with
28 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,4 +26,6 @@ public class ExtractionSpec { | |
@PreserveUnknownFields | ||
private Foo bar; | ||
|
||
private Qux qux; | ||
|
||
} |
8 changes: 8 additions & 0 deletions
8
crd-generator/api/src/test/java/io/fabric8/crd/example/extraction/Qux.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package io.fabric8.crd.example.extraction; | ||
|
||
import io.fabric8.crd.generator.annotation.PreserveUnknownFields; | ||
|
||
public class Qux { | ||
@PreserveUnknownFields | ||
public Foo foo; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters