Skip to content

Commit

Permalink
fix: use engine from config and not flag
Browse files Browse the repository at this point in the history
  • Loading branch information
jon4hz committed Nov 21, 2024
1 parent 5facf7b commit 91b1711
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ func root(cmd *cobra.Command, _ []string) {
}
client.SetToken(string(token))

path := vaultPath{rootFlags.engine}
path := vaultPath{config.Engine}
if rootFlags.path != "" {
path.Add(strings.Split(rootFlags.path, "/")...)
}
Expand Down

0 comments on commit 91b1711

Please sign in to comment.