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
d8f2f9cf
Commit
d8f2f9cf
authored
6 years ago
by
Nick Cabatoff
Browse files
Options
Download
Email Patches
Plain Diff
Revert functionality that shouldn't have been in the spec: missed a test.
parent
f9d0efb2
Branches unavailable
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
command/agent/config/config_test.go
+3
-0
command/agent/config/config_test.go
command/agent/config/test-fixtures/config-embedded-type.hcl
+3
-0
command/agent/config/test-fixtures/config-embedded-type.hcl
command/agent/config/test-fixtures/config.hcl
+3
-0
command/agent/config/test-fixtures/config.hcl
with
9 additions
and
0 deletions
+9
-0
command/agent/config/config_test.go
+
3
-
0
View file @
d8f2f9cf
...
...
@@ -140,6 +140,9 @@ func TestLoadConfigFile(t *testing.T) {
Name
:
"auto"
,
Type
:
"file"
,
WrapTTL
:
5
*
time
.
Minute
,
Config
:
map
[
string
]
interface
{}{
"path"
:
"/tmp/file-baz"
,
},
},
},
},
...
...
This diff is collapsed.
Click to expand it.
command/agent/config/test-fixtures/config-embedded-type.hcl
+
3
-
0
View file @
d8f2f9cf
...
...
@@ -35,5 +35,8 @@ auto_auth {
name
=
"auto"
type
=
"file"
wrap_ttl
=
"5m"
config
=
{
path
=
"/tmp/file-baz"
}
}
}
This diff is collapsed.
Click to expand it.
command/agent/config/test-fixtures/config.hcl
+
3
-
0
View file @
d8f2f9cf
...
...
@@ -37,5 +37,8 @@ auto_auth {
name
=
"auto"
type
=
"file"
wrap_ttl
=
"5m"
config
=
{
path
=
"/tmp/file-baz"
}
}
}
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