Skip to content

Commit

Permalink
Update generated code for LogConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
skmatti committed May 26, 2020
1 parent 6da8c47 commit 12a7618
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions pkg/composite/gen.go
Original file line number Diff line number Diff line change
Expand Up @@ -3182,6 +3182,9 @@ func (backendService *BackendService) ToAlpha() (*computealpha.BackendService, e
if alpha.Iap != nil {
alpha.Iap.ForceSendFields = []string{"Enabled", "Oauth2ClientId", "Oauth2ClientSecret"}
}
if alpha.LogConfig != nil {
alpha.LogConfig.ForceSendFields = []string{"Enable"}
}

return alpha, nil
}
Expand All @@ -3201,6 +3204,9 @@ func (backendService *BackendService) ToBeta() (*computebeta.BackendService, err
if beta.Iap != nil {
beta.Iap.ForceSendFields = []string{"Enabled", "Oauth2ClientId", "Oauth2ClientSecret"}
}
if beta.LogConfig != nil {
beta.LogConfig.ForceSendFields = []string{"Enable"}
}

return beta, nil
}
Expand All @@ -3220,6 +3226,9 @@ func (backendService *BackendService) ToGA() (*compute.BackendService, error) {
if ga.Iap != nil {
ga.Iap.ForceSendFields = []string{"Enabled", "Oauth2ClientId", "Oauth2ClientSecret"}
}
if ga.LogConfig != nil {
ga.LogConfig.ForceSendFields = []string{"Enable"}
}

return ga, nil
}
Expand Down

0 comments on commit 12a7618

Please sign in to comment.