Skip to content

Commit

Permalink
fix devflags empty object
Browse files Browse the repository at this point in the history
  • Loading branch information
AjayJagan committed Dec 7, 2023
1 parent 705d980 commit 784cfaf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/component.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ type Component struct {
// Add developer fields
// +optional
// +operator-sdk:csv:customresourcedefinitions:type=spec,order=2
DevFlags DevFlags `json:"devFlags,omitempty"`
DevFlags *DevFlags `json:"devFlags,omitempty"`
}

func (c *Component) GetManagementState() operatorv1.ManagementState {
Expand Down
6 changes: 5 additions & 1 deletion components/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 784cfaf

Please sign in to comment.