Skip to content

Commit d73d0a7

Browse files
logonoffci-robot
authored andcommitted
Fix some typos in cel.go (#343)
Upstream-repository: api Upstream-commit: e12258812235d18efdfa67fe7c0520d2ab3ee639
1 parent ecd95e7 commit d73d0a7

File tree

2 files changed

+6
-6
lines changed
  • staging/api/pkg/constraints
  • vendor/github.com/operator-framework/api/pkg/constraints

2 files changed

+6
-6
lines changed

staging/api/pkg/constraints/cel.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ func NewCelEnvironment() *CelEnvironment {
2929
decls.NewVar(PropertiesKey, decls.NewListType(decls.NewMapType(decls.String, decls.Any)))),
3030
cel.Lib(semverLib{}),
3131
)
32-
// If an error occurs here, it means the CEL enviroment is unable to load
33-
// configuration for custom libraries propertly. Hence, the CEL enviroment is
32+
// If an error occurs here, it means the CEL environment is unable to load
33+
// configuration for custom libraries properly. Hence, the CEL environment is
3434
// unusable. Panic here will cause the program to fail immediately to prevent
3535
// cascading failures later on when this CEL env is in use.
3636
if err != nil {
@@ -41,7 +41,7 @@ func NewCelEnvironment() *CelEnvironment {
4141
}
4242
}
4343

44-
// CelEnvironment is a struct that encapsulates CEL custom program enviroment
44+
// CelEnvironment is a struct that encapsulates CEL custom program environment
4545
type CelEnvironment struct {
4646
env *cel.Env
4747
}

vendor/github.com/operator-framework/api/pkg/constraints/cel.go

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

0 commit comments

Comments
 (0)