Skip to content

Commit 17f4672

Browse files
committed
grpc changes
1 parent 5d951b8 commit 17f4672

File tree

6 files changed

+348
-228
lines changed

6 files changed

+348
-228
lines changed

alpha/declcfg/declcfg_to_model.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ func ConvertToModel(cfg DeclarativeConfig) (model.Model, error) {
8989

9090
// packageBundles tracks the set of bundle names for each package
9191
// and is used to detect duplicate bundles.
92-
packageBundles := map[string]sets.String{}
92+
packageBundles := map[string]sets.Set[string]{}
9393

9494
for _, b := range cfg.Bundles {
9595
if b.Package == "" {
@@ -102,7 +102,7 @@ func ConvertToModel(cfg DeclarativeConfig) (model.Model, error) {
102102

103103
bundles, ok := packageBundles[b.Package]
104104
if !ok {
105-
bundles = sets.NewString()
105+
bundles = sets.Set[string]{}
106106
}
107107
if bundles.Has(b.Name) {
108108
return nil, fmt.Errorf("package %q has duplicate bundle %q", b.Package, b.Name)

pkg/api/grpc_health_v1/health.pb.go

Lines changed: 4 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/api/grpc_health_v1/health_grpc.pb.go

Lines changed: 8 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)