forked from fabric8io/kubernetes-client
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
port preserve-unknown-fields-fix from 5.12.2 to 6.14.3 branch (#135)
- Loading branch information
1 parent
0e42f50
commit 5f25722
Showing
4 changed files
with
35 additions
and
3 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