From 7d8178406dc79d57c8a39bfe083b9fdea5ba0f8e Mon Sep 17 00:00:00 2001 From: oftenoccur <166520808+oftenoccur@users.noreply.github.com> Date: Mon, 22 Apr 2024 00:19:38 +0800 Subject: [PATCH] chore: fix function names in comment (#1866) * chore: fix function names in comment Signed-off-by: oftenoccur --------- Signed-off-by: oftenoccur Co-authored-by: ohdearaugustin --- integration/scenario.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/integration/scenario.go b/integration/scenario.go index ebd12bca..0ba44e7d 100644 --- a/integration/scenario.go +++ b/integration/scenario.go @@ -510,7 +510,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 { @@ -586,7 +586,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)