Skip to content

Commit

Permalink
Merge pull request #188 from GoogleCloudPlatform/issue187
Browse files Browse the repository at this point in the history
bug: fixes missing integration overrides #187
  • Loading branch information
ssvaidyanathan authored Feb 21, 2024
2 parents 557296a + 4925399 commit ae94da9
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion internal/client/integrations/integrations.go
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,18 @@ func CreateVersion(name string, content []byte, overridesContent []byte, snapsho

// merge overrides if overrides were provided
if len(overridesContent) > 0 {
o := overrides{}
o := overrides{
IntegrationOverrides: integrationoverrides{
RunAsServiceAccount: nil,
DatabasePersistencePolicy: "DATABASE_PERSISTENCE_POLICY_UNSPECIFIED",
EnableVariableMasking: false,
CloudLoggingDetails: cloudLoggingDetails{
EnableCloudLogging: false,
CloudLoggingSeverity: "CLOUD_LOGGING_SEVERITY_UNSPECIFIED",
},
},
}

if err = json.Unmarshal(overridesContent, &o); err != nil {
return nil, err
}
Expand Down

0 comments on commit ae94da9

Please sign in to comment.