Commit b2a13a2f authored by Geoff Simmons's avatar Geoff Simmons

Doc fixes.

parent ffdca9a8
......@@ -220,14 +220,14 @@ func (v *VSM) Get(class string, ident string) (string, error) {
// network address at which Varnish is listening for management
// commands, according to the protocol documented in
// varnish-cli(7). The address may have been set with the Varnish -T
// option, or Varnish may have generated the address itself (if not -T
// option, or Varnish may have generated the address itself (if ot -T
// option was set).
//
// Clients such as the admin package or varnishadm(1) can connect to
// this address and issue commands to the Varnish management process.
//
// The address is a string of the form "address:port", so it is
// suitable for use with the Dial() method of the admin package.
// suitable for use with the Dial() method of the Admin object.
func (v *VSM) GetMgmtAddr() (string, error) {
targ, err := v.Get("Arg", "-T")
if err != nil {
......@@ -240,7 +240,7 @@ func (v *VSM) GetMgmtAddr() (string, error) {
// GetSecretPath is a convenience wrapper for Get() that returns the
// path of the file that Varnish uses for authenticating connections
// to the management address. the authentication protocol is
// to the management address. The authentication protocol is
// documented in varnish-cli(7).
func (v *VSM) GetSecretPath() (string, error) {
sarg, err := v.Get("Arg", "-S")
......
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