mirror of
https://github.com/passbolt/go-passbolt-cli.git
synced 2025-05-12 02:58:20 +00:00
Make slice of cel environment options private
This commit is contained in:
parent
5a464f48da
commit
48604aefd0
1 changed files with 2 additions and 2 deletions
|
@ -28,7 +28,7 @@ var ResourceListCmd = &cobra.Command{
|
|||
RunE: ResourceList,
|
||||
}
|
||||
|
||||
var CelEnvOptions = []cel.EnvOption{
|
||||
var celEnvOptions = []cel.EnvOption{
|
||||
cel.Variable("ID", cel.StringType),
|
||||
cel.Variable("FolderParentID", cel.StringType),
|
||||
cel.Variable("Name", cel.StringType),
|
||||
|
@ -182,7 +182,7 @@ func filterResources(resources *[]api.Resource, celCmd string, ctx context.Conte
|
|||
return *resources, nil
|
||||
}
|
||||
|
||||
env, err := cel.NewEnv(CelEnvOptions...)
|
||||
env, err := cel.NewEnv(celEnvOptions...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue