Respond with data to all writes in PKI engine (#18222)

* Respond with data to all writes in PKI engine

Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>

* Add changelog

Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>

Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
This commit is contained in:
Alexander Scheel
2022-12-05 10:40:39 -05:00
committed by GitHub
parent 3d794050ff
commit 601e27dcca
11 changed files with 47 additions and 19 deletions

View File

@@ -44,13 +44,13 @@ func TestPatchCommand_Run(t *testing.T) {
{
"force_kvs",
[]string{"-force", "pki/roles/example"},
"Success!",
"allow_localhost",
0,
},
{
"force_f_kvs",
[]string{"-f", "pki/roles/example"},
"Success!",
"allow_localhost",
0,
},
{
@@ -62,13 +62,13 @@ func TestPatchCommand_Run(t *testing.T) {
{
"single_value",
[]string{"pki/roles/example", "allow_localhost=true"},
"Success!",
"allow_localhost",
0,
},
{
"multi_value",
[]string{"pki/roles/example", "allow_localhost=true", "allowed_domains=true"},
"Success!",
"allow_localhost",
0,
},
}