Skip to content

Commit

Permalink
(bug): adding missing fn (#60)
Browse files Browse the repository at this point in the history
In the previous commit, `DeepCopyObject` was not added. I didn't mention
`//+kubebuilder:object:root=true` on top of NFConfigList.
  • Loading branch information
arora-sagar authored Nov 27, 2023
1 parent 955263f commit cf14bd5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions workload/v1alpha1/nf_config_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ type NFConfigSpec struct {
ConfigRefs []runtime.RawExtension `json:"configRefs,omitempty" yaml:"configRefs,omitempty"`
}

//+kubebuilder:object:root=true

// NFConfigList contains a list of ref.Config
type NFConfigList struct {
metav1.TypeMeta `json:",inline"`
Expand Down
8 changes: 8 additions & 0 deletions workload/v1alpha1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit cf14bd5

Please sign in to comment.