diff options
author | Igor Drozdov <idrozdov@gitlab.com> | 2021-07-22 17:58:58 +0300 |
---|---|---|
committer | Igor Drozdov <idrozdov@gitlab.com> | 2021-07-22 18:38:47 +0300 |
commit | fb7b9417842c66e12466e658e861e19619dfcd9a (patch) | |
tree | d0d49465ee51299ed97f404e1aeebd92b6f9ff9e /cmd/gitlab-sshd/acceptance_test.go | |
parent | a8b2088d6d40e365445fcf4bea5183f83e31cc51 (diff) | |
download | gitlab-shell-fb7b9417842c66e12466e658e861e19619dfcd9a.tar.gz |
Switch to labkit/log for logging functionality
Diffstat (limited to 'cmd/gitlab-sshd/acceptance_test.go')
-rw-r--r-- | cmd/gitlab-sshd/acceptance_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/gitlab-sshd/acceptance_test.go b/cmd/gitlab-sshd/acceptance_test.go index c92a8aa..7cb1c48 100644 --- a/cmd/gitlab-sshd/acceptance_test.go +++ b/cmd/gitlab-sshd/acceptance_test.go @@ -229,7 +229,7 @@ func startSSHD(t *testing.T, dir string) string { t.Cleanup(func() { pw.Close() }) scanner := bufio.NewScanner(pr) - extractor := regexp.MustCompile(`msg="Listening on ([0-9a-f\[\]\.:]+)"`) + extractor := regexp.MustCompile(`tcp_address="([0-9a-f\[\]\.:]+)"`) ctx, cancel := context.WithCancel(context.Background()) cmd := exec.CommandContext(ctx, sshdPath, "-config-dir", dir) |