Commit 735016e9 authored by Geoff Simmons's avatar Geoff Simmons

Doc fixes.

parent 288e2159
......@@ -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
......
......@@ -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
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment