Commit c79d990b authored by Geoff Simmons's avatar Geoff Simmons

Document function HasVarnishSvc() of the Varnish controller.

Quiets golint.
parent 18abf575
......@@ -193,6 +193,8 @@ func (vc *Controller) EvtGenerator(svcEvt interfaces.SvcEventGenerator) {
vc.svcEvt = svcEvt
}
// HasVarnishSvc returns true iff the configuration of the service
// identified by svcKey has been specified for the Varnish controller.
func (vc *Controller) HasVarnishSvc(svcKey string) bool {
_, ok := vc.svcs[svcKey]
return ok
......
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