Skip to content

Commit

Permalink
Automated DCL import.
Browse files Browse the repository at this point in the history
  - b5af499c5f939b8099965e9dff3d2d30a882630f Automatic import from cloud_mmv2_dcl_20240222_1531_RC00 by DCL Team <[email protected]>

GitOrigin-RevId: b5af499c5f939b8099965e9dff3d2d30a882630f
  • Loading branch information
DCL Team authored and copybara-github committed Feb 22, 2024
1 parent a0e375a commit 16b1d7f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3387,7 +3387,7 @@ func expandFeatureMembershipConfigmanagement(c *Client, f *FeatureMembershipConf
} else if !dcl.IsEmptyValueIndirect(v) {
m["policyController"] = v
}
if v, err := expandFeatureMembershipConfigmanagementBinauthz(c, f.Binauthz, res); err != nil {
if v, err := dcl.EmptyValue(); err != nil {
return nil, fmt.Errorf("error expanding Binauthz into binauthz: %w", err)
} else if !dcl.IsEmptyValueIndirect(v) {
m["binauthz"] = v
Expand Down
2 changes: 1 addition & 1 deletion services/google/gkehub/beta/feature_membership_internal.go
Original file line number Diff line number Diff line change
Expand Up @@ -3387,7 +3387,7 @@ func expandFeatureMembershipConfigmanagement(c *Client, f *FeatureMembershipConf
} else if !dcl.IsEmptyValueIndirect(v) {
m["policyController"] = v
}
if v, err := expandFeatureMembershipConfigmanagementBinauthz(c, f.Binauthz, res); err != nil {
if v, err := dcl.EmptyValue(); err != nil {
return nil, fmt.Errorf("error expanding Binauthz into binauthz: %w", err)
} else if !dcl.IsEmptyValueIndirect(v) {
m["binauthz"] = v
Expand Down
2 changes: 1 addition & 1 deletion services/google/gkehub/feature_membership_internal.go
Original file line number Diff line number Diff line change
Expand Up @@ -3387,7 +3387,7 @@ func expandFeatureMembershipConfigmanagement(c *Client, f *FeatureMembershipConf
} else if !dcl.IsEmptyValueIndirect(v) {
m["policyController"] = v
}
if v, err := expandFeatureMembershipConfigmanagementBinauthz(c, f.Binauthz, res); err != nil {
if v, err := dcl.EmptyValue(); err != nil {
return nil, fmt.Errorf("error expanding Binauthz into binauthz: %w", err)
} else if !dcl.IsEmptyValueIndirect(v) {
m["binauthz"] = v
Expand Down

0 comments on commit 16b1d7f

Please sign in to comment.