Skip to content

Commit

Permalink
chore: updated []json.RawMessage to json.RawMessage
Browse files Browse the repository at this point in the history
  • Loading branch information
Ash-exp committed Sep 20, 2024
1 parent 804f858 commit 65cbb67
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions pkg/bean/configSecretData.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,12 @@ type ExternalSecret struct {
}

type ESOSecretData struct {
SecretStore json.RawMessage `json:"secretStore,omitempty"`
SecretStoreRef json.RawMessage `json:"secretStoreRef,omitempty"`
ESOData []ESOData `json:"esoData"`
RefreshInterval string `json:"refreshInterval,omitempty"`
ESODataFrom []json.RawMessage `json:"esoDataFrom,omitempty"`
Template json.RawMessage `json:"template,omitempty"`
SecretStore json.RawMessage `json:"secretStore,omitempty"`
SecretStoreRef json.RawMessage `json:"secretStoreRef,omitempty"`
ESOData []ESOData `json:"esoData"`
RefreshInterval string `json:"refreshInterval,omitempty"`
ESODataFrom json.RawMessage `json:"esoDataFrom,omitempty"`
Template json.RawMessage `json:"template,omitempty"`
}

type ESOData struct {
Expand Down
12 changes: 6 additions & 6 deletions pkg/pipeline/bean/ConfigMapBean.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ type ConfigDataRequest struct {
}

type ESOSecretData struct {
SecretStore json.RawMessage `json:"secretStore,omitempty"`
SecretStoreRef json.RawMessage `json:"secretStoreRef,omitempty"`
ESOData []ESOData `json:"esoData,omitempty"`
RefreshInterval string `json:"refreshInterval,omitempty"`
ESODataFrom []json.RawMessage `json:"esoDataFrom,omitempty"`
Template json.RawMessage `json:"template,omitempty"`
SecretStore json.RawMessage `json:"secretStore,omitempty"`
SecretStoreRef json.RawMessage `json:"secretStoreRef,omitempty"`
ESOData []ESOData `json:"esoData,omitempty"`
RefreshInterval string `json:"refreshInterval,omitempty"`
ESODataFrom json.RawMessage `json:"esoDataFrom,omitempty"`
Template json.RawMessage `json:"template,omitempty"`
}

type ESOData struct {
Expand Down

0 comments on commit 65cbb67

Please sign in to comment.