Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnishapi
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
uplex-varnish
varnishapi
Commits
735016e9
Commit
735016e9
authored
Aug 20, 2018
by
Geoff Simmons
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Doc fixes.
parent
288e2159
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
9 deletions
+9
-9
vsm.go
internal/pkg/vsm/vsm.go
+3
-3
log.go
pkg/log/log.go
+3
-3
stats.go
pkg/stats/stats.go
+3
-3
No files found.
internal/pkg/vsm/vsm.go
View file @
735016e9
...
...
@@ -118,9 +118,9 @@ func (v *VSM) AttachTmo(tmo time.Duration) error {
// Attach to an instance of Varnish -- varnishd with a running worker
// process.
//
// If name
!= "", then attach to the default instance -- varnishd
//
invoked without the -n option. Otherwise, attach to the named
// instance, as given in the -n option.
// If name
is the empty string, then attach to the default instance --
//
varnishd invoked without the -n option. Otherwise, attach to the
//
named
instance, as given in the -n option.
func
(
v
*
VSM
)
Attach
(
name
string
)
error
{
if
err
:=
v
.
checkNil
();
err
!=
nil
{
return
err
...
...
pkg/log/log.go
View file @
735016e9
...
...
@@ -473,9 +473,9 @@ func (log *Log) setCursor() error {
// Attach to an instance of Varnish -- varnishd with a running worker
// process.
//
// If name
!= "", then attach to the default instance -- varnishd
//
invoked without the -n option. Otherwise, attach to the named
// instance, as given in the -n option.
// If name
is the empty string, then attach to the default instance --
//
varnishd invoked without the -n option. Otherwise, attach to the
//
named
instance, as given in the -n option.
func
(
log
*
Log
)
Attach
(
name
string
)
error
{
if
err
:=
log
.
initVSM
();
err
!=
nil
{
return
err
...
...
pkg/stats/stats.go
View file @
735016e9
...
...
@@ -425,9 +425,9 @@ func (stats *Stats) getD9ns() error {
// Attach to an instance of Varnish -- varnishd with a running worker
// process.
//
// If name
!= "", then attach to the default instance -- varnishd
//
invoked without the -n option. Otherwise, attach to the named
// instance, as given in the -n option.
// If name
is the empty string, then attach to the default instance --
//
varnishd invoked without the -n option. Otherwise, attach to the
//
named
instance, as given in the -n option.
func
(
stats
*
Stats
)
Attach
(
name
string
)
error
{
if
err
:=
stats
.
initVSM
();
err
!=
nil
{
return
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