Skip to content

Commit

Permalink
fix: [CDS-98038]: Remove 'omitempty' from bool types (#622)
Browse files Browse the repository at this point in the history
* fix: [CDS-98038]: Added support of executeOnDelegate param for aws connector creation

* Removed 'omitempty' from bool types

* Cosmetic fix
  • Loading branch information
sameed-haq authored Jan 7, 2025
1 parent 172d845 commit d6e4873
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions harness/nextgen/model_aws_connector.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ type AwsConnector struct {
Credential *AwsCredential `json:"credential"`
AwsSdkClientBackOffStrategyOverride *AwsSdkClientBackoffStrategy `json:"awsSdkClientBackOffStrategyOverride,omitempty"`
DelegateSelectors []string `json:"delegateSelectors,omitempty"`
ExecuteOnDelegate bool `json:"executeOnDelegate,omitempty"`
Proxy bool `json:"proxy,omitempty"`
ExecuteOnDelegate bool `json:"executeOnDelegate"`
Proxy bool `json:"proxy"`
ProxyUrl string `json:"proxyUrl,omitempty"`
IgnoreTestConnection bool `json:"ignoreTestConnection,omitempty"`
IgnoreTestConnection bool `json:"ignoreTestConnection"`
ConnectorType string `json:"connectorType"`
}
2 changes: 1 addition & 1 deletion harness/nextgen/model_azure_connector.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ type AzureConnector struct {
DelegateSelectors []string `json:"delegateSelectors,omitempty"`
// This specifies the Azure Environment type, which is AZURE by default.
AzureEnvironmentType string `json:"azureEnvironmentType"`
ExecuteOnDelegate bool `json:"executeOnDelegate,omitempty"`
ExecuteOnDelegate bool `json:"executeOnDelegate"`
}
2 changes: 1 addition & 1 deletion harness/nextgen/model_gcp_connector.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ package nextgen
type GcpConnector struct {
Credential *GcpConnectorCredential `json:"credential"`
DelegateSelectors []string `json:"delegateSelectors,omitempty"`
ExecuteOnDelegate bool `json:"executeOnDelegate,omitempty"`
ExecuteOnDelegate bool `json:"executeOnDelegate"`
}

0 comments on commit d6e4873

Please sign in to comment.