Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
k8s-vcl-reloader
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
uplex-varnish
k8s-vcl-reloader
Commits
1e748e72
Commit
1e748e72
authored
Nov 19, 2019
by
Geoff Simmons
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
go fmt fixes.
parent
dda229dd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
vcl_test.go
pkg/varnish/vcl/vcl_test.go
+2
-2
No files found.
pkg/varnish/vcl/vcl_test.go
View file @
1e748e72
...
...
@@ -43,7 +43,7 @@ import (
var
(
testdir
string
tmpdir
string
tmpdir
string
)
func
cmpGold
(
t
*
testing
.
T
,
gotPath
string
,
goldfile
string
)
bool
{
...
...
@@ -171,7 +171,7 @@ func TestTemplate(t *testing.T) {
vclPath
:=
filepath
.
Join
(
tmpdir
,
"backends.vcl"
)
tmplMap
[
filepath
.
Join
(
testdir
,
"testdata"
,
"backends.tmpl"
)]
=
vclPath
tmpl2file
,
err
:=
InitTemplates
(
tmplMap
)
;
tmpl2file
,
err
:=
InitTemplates
(
tmplMap
)
if
err
!=
nil
{
t
.
Fatal
(
"InitTemplates():"
,
err
)
}
...
...
Write
Preview
Markdown
is supported
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