From f8a284489be1596513fe4c454d99579704e271db Mon Sep 17 00:00:00 2001 From: oftenoccur Date: Thu, 11 Apr 2024 10:57:58 +0800 Subject: [PATCH] chore: fix function names in comment Signed-off-by: oftenoccur --- integration/scenario.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/integration/scenario.go b/integration/scenario.go index a2c63e6fa7..023cdc483a 100644 --- a/integration/scenario.go +++ b/integration/scenario.go @@ -508,7 +508,7 @@ func (s *Scenario) GetIPs(user string) ([]netip.Addr, error) { return ips, fmt.Errorf("failed to get ips: %w", errNoUserAvailable) } -// GetIPs returns all TailscaleClients associated with a User in a Scenario. +// GetClients returns all TailscaleClients associated with a User in a Scenario. func (s *Scenario) GetClients(user string) ([]TailscaleClient, error) { var clients []TailscaleClient if ns, ok := s.users[user]; ok { @@ -584,7 +584,7 @@ func (s *Scenario) ListTailscaleClientsIPs(users ...string) ([]netip.Addr, error return allIps, nil } -// ListTailscaleClientsIPs returns a list of FQDN based on Users +// ListTailscaleClientsFQDNs returns a list of FQDN based on Users // passed as parameters. func (s *Scenario) ListTailscaleClientsFQDNs(users ...string) ([]string, error) { allFQDNs := make([]string, 0)