From dd82979fb63eacf69e88208228735633122c0ccc Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Tue, 25 Sep 2018 16:09:40 -0700 Subject: [PATCH] libvirt_prefix_deprovision: Fix "for name that are" -> "names" "are" is for plurals, "name" was singular. --- pkg/destroy/libvirt/libvirt_prefix_deprovision.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/destroy/libvirt/libvirt_prefix_deprovision.go b/pkg/destroy/libvirt/libvirt_prefix_deprovision.go index 5453c553bd6..954dc67ded3 100644 --- a/pkg/destroy/libvirt/libvirt_prefix_deprovision.go +++ b/pkg/destroy/libvirt/libvirt_prefix_deprovision.go @@ -14,7 +14,7 @@ import ( // returns true, when the name should be handled. type filterFunc func(name string) bool -// ClusterNamePrefixFilter returns true for name +// ClusterNamePrefixFilter returns true for names // that are prefixed with clustername. // `clustername` cannot be empty. var ClusterNamePrefixFilter = func(clustername string) filterFunc { @@ -27,7 +27,7 @@ var ClusterNamePrefixFilter = func(clustername string) filterFunc { } // AlwaysTrueFilter returns true for all -// name except `default`. +// names except `default`. var AlwaysTrueFilter = func() filterFunc { return func(name string) bool { if name == "default" {