mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-10-31 18:48:08 +00:00
Fix bug with vault cli when reading an individual field containing a Printf formatting verb (#4005)
This commit is contained in:
committed by
Jeff Mitchell
parent
7a46918f8c
commit
1c9f1736fb
@@ -128,7 +128,7 @@ func PrintRaw(ui cli.Ui, str string) int {
|
|||||||
// The cli.Ui prints a CR, which is not wanted since the user probably wants
|
// The cli.Ui prints a CR, which is not wanted since the user probably wants
|
||||||
// just the raw value.
|
// just the raw value.
|
||||||
w := getWriterFromUI(ui)
|
w := getWriterFromUI(ui)
|
||||||
fmt.Fprintf(w, str)
|
fmt.Fprint(w, str)
|
||||||
}
|
}
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user