Skip to content

Commit d2e484a

Browse files
authored
fix: make oauth2 scope field optional (#153)
Signed-off-by: ericsyh <ericshenyuhao@outlook.com>
1 parent 3bcf35a commit d2e484a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

api/v1alpha1/common.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ type PulsarAuthenticationOAuth2 struct {
6565
ClientID string `json:"clientID"`
6666
Audience string `json:"audience"`
6767
Key ValueOrSecretRef `json:"key"`
68-
Scope string `json:"scope"`
68+
Scope string `json:"scope,omitempty"`
6969
}
7070

7171
// IsPulsarResourceReady returns true if resource satisfies with these condition

0 commit comments

Comments
 (0)