Skip to content

Commit 3adcc28

Browse files
Merge pull request #1314 from rabi/ansibleUser
Add omitempty for ansibleUser
2 parents b6e9160 + 21fe064 commit 3adcc28

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apis/dataplane/v1beta1/common.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ type DataSource struct {
7979
type AnsibleOpts struct {
8080
// AnsibleUser SSH user for Ansible connection
8181
// +kubebuilder:validation:Optional
82-
AnsibleUser string `json:"ansibleUser"`
82+
AnsibleUser string `json:"ansibleUser,omitempty"`
8383

8484
// AnsibleHost SSH host for Ansible connection
8585
// +kubebuilder:validation:Optional

0 commit comments

Comments
 (0)