Skip to content

Commit e122588

Browse files
authored
Fix some typos in cel.go (#343)
1 parent 5d2d3fb commit e122588

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pkg/constraints/cel.go

+3-3
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
}

0 commit comments

Comments
 (0)