From 4afcdd55ff3bdca0e6589be4b561f283a32fbc69 Mon Sep 17 00:00:00 2001 From: max furman Date: Wed, 12 Jan 2022 12:24:38 -0800 Subject: [PATCH] Update doc line on WithSSHGetHosts --- authority/options.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/authority/options.go b/authority/options.go index 0f80cbbf..a18d40e2 100644 --- a/authority/options.go +++ b/authority/options.go @@ -101,8 +101,8 @@ func WithSSHBastionFunc(fn func(ctx context.Context, user, host string) (*config } } -// WithSSHGetHosts sets a custom function to get the bastion for a -// given user-host pair. +// WithSSHGetHosts sets a custom function to return a list of step ssh enabled +// hosts. func WithSSHGetHosts(fn func(ctx context.Context, cert *x509.Certificate) ([]config.Host, error)) Option { return func(a *Authority) error { a.sshGetHostsFunc = fn