Fix some typos

Signed-off-by: mooncake <xcoder@tenxcloud.com>
This commit is contained in:
mooncake 2018-11-05 22:10:11 +08:00
parent 6b7f0f129b
commit 4b518ec03c
4 changed files with 4 additions and 4 deletions

View file

@ -97,7 +97,7 @@ var (
)
// NewSocketCollector creates a new SocketCollector instance using
// the ingresss watch namespace and class used by the controller
// the ingress watch namespace and class used by the controller
func NewSocketCollector(pod, namespace, class string) (*SocketCollector, error) {
socket := "/tmp/prometheus-nginx.socket"
listener, err := net.Listen("unix", socket)