Skip to content

Commit

Permalink
Merge pull request #222 from akwi-github/fix_compression_mode
Browse files Browse the repository at this point in the history
Fix compression mode
  • Loading branch information
google-oss-prow[bot] authored Aug 26, 2024
2 parents 6ebb665 + 86d33d7 commit 1d9f245
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cloud/rgraph/rnode/backendservice/type_trait.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ func (*typeTrait) FieldTraits(v meta.Version) *api.FieldTraits {

dt.NonZeroValue(api.Path{}.Pointer().Field("LoadBalancingScheme"))
dt.NonZeroValue(api.Path{}.Pointer().Field("Protocol"))
dt.NonZeroValue(api.Path{}.Pointer().Field("CompressionMode"))
// TODO(kl52752) change this field to mandatory after fixing type traits check.
// Type traits check should be per path and not inherited from parent.
dt.AllowZeroValue(api.Path{}.Pointer().Field("ConnectionDraining"))
Expand All @@ -68,5 +67,6 @@ func (*typeTrait) FieldTraits(v meta.Version) *api.FieldTraits {
dt.NonZeroValue(api.Path{}.Pointer().Field("VpcNetworkScope"))
dt.NonZeroValue(api.Path{}.Pointer().Field("ExternalManagedMigrationState"))
}

return dt
}

0 comments on commit 1d9f245

Please sign in to comment.