Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Nomad
Commits
e09badbe
Unverified
Commit
e09badbe
authored
6 years ago
by
Chris Baker
Committed by
Preetha Appan
6 years ago
Browse files
Options
Download
Email Patches
Plain Diff
client: gofmt
parent
3a287634
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
client/allocrunner/taskrunner/template/template_test.go
+3
-3
client/allocrunner/taskrunner/template/template_test.go
with
3 additions
and
3 deletions
+3
-3
client/allocrunner/taskrunner/template/template_test.go
+
3
-
3
View file @
e09badbe
...
@@ -1339,13 +1339,13 @@ func TestTaskTemplateManager_Config_VaultNamespace(t *testing.T) {
...
@@ -1339,13 +1339,13 @@ func TestTaskTemplateManager_Config_VaultNamespace(t *testing.T) {
Enabled
:
helper
.
BoolToPtr
(
true
),
Enabled
:
helper
.
BoolToPtr
(
true
),
Addr
:
"https://localhost/"
,
Addr
:
"https://localhost/"
,
TLSServerName
:
"notlocalhost"
,
TLSServerName
:
"notlocalhost"
,
Namespace
:
testNS
,
Namespace
:
testNS
,
}
}
alloc
:=
mock
.
Alloc
()
alloc
:=
mock
.
Alloc
()
config
:=
&
TaskTemplateManagerConfig
{
config
:=
&
TaskTemplateManagerConfig
{
ClientConfig
:
c
,
ClientConfig
:
c
,
VaultToken
:
"token"
,
VaultToken
:
"token"
,
// Make a template that will render immediately
// Make a template that will render immediately
Templates
:
[]
*
structs
.
Template
{
Templates
:
[]
*
structs
.
Template
{
...
...
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