Commit 0f1ad8ca authored by Geoff Simmons's avatar Geoff Simmons

gofmt/golint updates (whitespace only)

parent 6d344815
......@@ -116,11 +116,11 @@ type Client struct {
// NewClient creates an API client.
//
// log: logger initialized at startup
// kubeClient: k8s client initialized at startup
// vc: Varnish controller
// infFactory: SharedInformerFactory to create informers & listers for
// the k8s standard client APIs
// log: logger initialized at startup
// kubeClient: k8s client initialized at startup
// vc: Varnish controller
// infFactory: SharedInformerFactory to create informers & listers for
// the k8s standard client APIs
func NewClient(
log *logrus.Logger,
kubeClient kubernetes.Interface,
......
......@@ -236,10 +236,10 @@ type NamespaceQueues struct {
// NewNamespaceQueues creates a NamespaceQueues object.
//
// log: logger initialized at startup
// vController: Varnish controller initialied at startup
// listers: client-go/lister instance for each resource type
// recorder: Event broadcaster initialized at startup
// log: logger initialized at startup
// vController: Varnish controller initialied at startup
// listers: client-go/lister instance for each resource type
// recorder: Event broadcaster initialized at startup
func NewNamespaceQueues(
log *logrus.Logger,
updater *SpecUpdater,
......
......@@ -73,12 +73,12 @@ type Controller struct {
// NewController returns an instance of Controller.
//
// log: logger object initialized at startup
// home: Varnish home directory
// tmplMap: map of template paths to file paths
// loadFile: file to be named in a VCL load command
// admTimeout: connection timeout for the Varnish admin port
// monIntvl: interval at which to run the monitor
// log: logger object initialized at startup
// home: Varnish home directory
// tmplMap: map of template paths to file paths
// loadFile: file to be named in a VCL load command
// admTimeout: connection timeout for the Varnish admin port
// monIntvl: interval at which to run the monitor
func NewController(
log *logrus.Logger,
home string,
......@@ -164,7 +164,7 @@ func (vc *Controller) getAddrSecret() (string, []byte, error) {
// Update a Varnish Service to implement an configuration.
//
// spec: VCL spec corresponding to the configuration
// spec: VCL spec corresponding to the configuration
func (vc *Controller) Update(spec *vcl.Spec) error {
var err error
......@@ -258,7 +258,7 @@ func (vc *Controller) Update(spec *vcl.Spec) error {
// HasConfig returns true iff a configuration is already loaded for a
// Varnish Service (so a new sync attempt is not necessary).
//
// spec: VCL specification derived from the configuration
// spec: VCL specification derived from the configuration
func (vc *Controller) HasConfig(spec vcl.Spec) bool {
if vc.spec == nil {
return false
......
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