fix golint failures of pkg/util/parsers pkg/util/sysctl pkg/util/system

This commit is contained in:
SataQiu
2019-05-15 23:19:47 +08:00
parent b066e0d783
commit b36d8d431f
5 changed files with 42 additions and 21 deletions

View File

@@ -20,6 +20,7 @@ import (
"strings"
)
// IsMasterNode returns true if given node is a registered master.
// TODO: find a better way of figuring out if given node is a registered master.
func IsMasterNode(nodeName string) bool {
// We are trying to capture "master(-...)?$" regexp.