Fix some typos
Signed-off-by: mooncake <xcoder@tenxcloud.com>
This commit is contained in:
parent
6b7f0f129b
commit
4b518ec03c
4 changed files with 4 additions and 4 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue