Skip to content

Commit 93e0e04

Browse files
committed
chore: bump expression version
1 parent 4c1c41a commit 93e0e04

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

external.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ func (v *ExternalVaultProvider) environmentToSlice() []string {
323323
}
324324

325325
func (v *ExternalVaultProvider) renderCmdTemplate(template, key string) (string, error) {
326-
data := expression.Data{
326+
data := map[string]interface{}{
327327
"env": expandEnv(v.cfg.Environment),
328328
"key": key,
329329
"ref": key,
@@ -347,7 +347,7 @@ func (v *ExternalVaultProvider) renderCmdTemplate(template, key string) (string,
347347
}
348348

349349
func (v *ExternalVaultProvider) renderCmdTemplateWithValue(template, key, value string) (string, error) {
350-
data := expression.Data{
350+
data := map[string]interface{}{
351351
"env": expandEnv(v.cfg.Environment),
352352
"key": key,
353353
"ref": key,
@@ -373,7 +373,7 @@ func (v *ExternalVaultProvider) renderCmdTemplateWithValue(template, key, value
373373
}
374374

375375
func (v *ExternalVaultProvider) renderInputTemplate(template, input string) (string, error) {
376-
data := expression.Data{
376+
data := map[string]interface{}{
377377
"env": expandEnv(v.cfg.Environment),
378378
"input": input,
379379
"template": template,
@@ -394,7 +394,7 @@ func (v *ExternalVaultProvider) renderInputTemplate(template, input string) (str
394394
}
395395

396396
func (v *ExternalVaultProvider) renderOutputTemplate(template, output string) (string, error) {
397-
data := expression.Data{
397+
data := map[string]interface{}{
398398
"env": expandEnv(v.cfg.Environment),
399399
"output": output,
400400
"template": template,

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ go 1.24.0
44

55
require (
66
filippo.io/age v1.2.1
7-
github.com/jahvon/expression v0.1.1
7+
github.com/jahvon/expression v0.1.3
88
github.com/zalando/go-keyring v0.2.6
99
golang.org/x/crypto v0.41.0
1010
gopkg.in/yaml.v3 v3.0.1

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8=
2020
github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU=
2121
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 h1:El6M4kTTCOh6aBiKaUGG7oYTSPP8MxqL4YI3kZKwcP4=
2222
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510/go.mod h1:pupxD2MaaD3pAXIBCelhxNneeOaAeabZDe5s4K6zSpQ=
23-
github.com/jahvon/expression v0.1.1 h1:Impbzo6to4gLYAL/W11KYhAwap3grp14yShh3jJiKNk=
24-
github.com/jahvon/expression v0.1.1/go.mod h1:4HJB2k+epW5vFeptF6ILlXbFRQ+CuCyCSO4QdnGT3AE=
23+
github.com/jahvon/expression v0.1.3 h1:ZOH6tj1zK9h+M+eDy/n1Fz6XL/vA3lCV6bzHe6YWAvY=
24+
github.com/jahvon/expression v0.1.3/go.mod h1:4HJB2k+epW5vFeptF6ILlXbFRQ+CuCyCSO4QdnGT3AE=
2525
github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI=
2626
github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE=
2727
github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk=

0 commit comments

Comments
 (0)