mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-02 03:27:54 +00:00
VAULT-18160: Audit - options and defaults (#22295)
* options for syslog * fix bug in default value for HMACAccessor * backend device cleanup * socket backend options update * options: prefix removed check, added default file mode * fix option setting for elision * fix test for prefix and whitespace
This commit is contained in:
@@ -205,7 +205,7 @@ func TestOptions_WithFacility(t *testing.T) {
|
||||
},
|
||||
"whitespace": {
|
||||
Value: " ",
|
||||
ExpectedValue: "",
|
||||
ExpectedValue: " ",
|
||||
},
|
||||
"value": {
|
||||
Value: "juan",
|
||||
@@ -213,7 +213,7 @@ func TestOptions_WithFacility(t *testing.T) {
|
||||
},
|
||||
"spacey-value": {
|
||||
Value: " juan ",
|
||||
ExpectedValue: "juan",
|
||||
ExpectedValue: " juan ",
|
||||
},
|
||||
}
|
||||
|
||||
@@ -243,7 +243,7 @@ func TestOptions_WithTag(t *testing.T) {
|
||||
},
|
||||
"whitespace": {
|
||||
Value: " ",
|
||||
ExpectedValue: "",
|
||||
ExpectedValue: " ",
|
||||
},
|
||||
"value": {
|
||||
Value: "juan",
|
||||
@@ -251,7 +251,7 @@ func TestOptions_WithTag(t *testing.T) {
|
||||
},
|
||||
"spacey-value": {
|
||||
Value: " juan ",
|
||||
ExpectedValue: "juan",
|
||||
ExpectedValue: " juan ",
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user