From 1364264779021b21cdf8c77f6eb8c501227273e1 Mon Sep 17 00:00:00 2001 From: u2takey Date: Tue, 15 Aug 2017 10:46:07 +0800 Subject: [PATCH] fix typo in pkg tunneler --- pkg/master/tunneler/ssh.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/master/tunneler/ssh.go b/pkg/master/tunneler/ssh.go index 748e5ef63fa..97beb0c0455 100644 --- a/pkg/master/tunneler/ssh.go +++ b/pkg/master/tunneler/ssh.go @@ -56,11 +56,11 @@ func TunnelSyncHealthChecker(tunneler Tunneler) func(req *http.Request) error { } lag := tunneler.SecondsSinceSync() if lag > 600 { - return fmt.Errorf("Tunnel sync is taking to long: %d", lag) + return fmt.Errorf("Tunnel sync is taking too long: %d", lag) } sshKeyLag := tunneler.SecondsSinceSSHKeySync() if sshKeyLag > 600 { - return fmt.Errorf("SSHKey sync is taking to long: %d", sshKeyLag) + return fmt.Errorf("SSHKey sync is taking too long: %d", sshKeyLag) } return nil }