Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Vault
Commits
1a7ed104
Unverified
Commit
1a7ed104
authored
3 years ago
by
Lars Lehtonen
Committed by
GitHub
3 years ago
Browse files
Options
Download
Email Patches
Plain Diff
builtin/logical/transit: fix dropped test error (#14244)
parent
40ddcc2c
Branches unavailable
v1.10.2
v1.10.1
v1.10.0
v1.10.0-rc1
sdk/v0.4.1
sdk/v0.4.0
api/v1.5.0
api/v1.4.1
api/v1.4.0
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
builtin/logical/transit/path_config_test.go
+3
-1
builtin/logical/transit/path_config_test.go
with
3 additions
and
1 deletion
+3
-1
builtin/logical/transit/path_config_test.go
+
3
-
1
View file @
1a7ed104
...
...
@@ -366,7 +366,9 @@ func TestTransit_UpdateKeyConfigWithAutorotation(t *testing.T) {
_
,
err
=
client
.
Logical
()
.
Write
(
fmt
.
Sprintf
(
"transit/keys/%s"
,
keyName
),
map
[
string
]
interface
{}{
"auto_rotate_period"
:
test
.
initialAutoRotatePeriod
,
})
if
err
!=
nil
{
t
.
Fatal
(
err
)
}
resp
,
err
:=
client
.
Logical
()
.
Write
(
fmt
.
Sprintf
(
"transit/keys/%s/config"
,
keyName
),
map
[
string
]
interface
{}{
"auto_rotate_period"
:
test
.
newAutoRotatePeriod
,
})
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help