From 2cf64d733b9511fc45ccc88fcd4d12de826a9a6e Mon Sep 17 00:00:00 2001 From: Chris Roberts Date: Fri, 23 Sep 2022 16:54:37 -0700 Subject: [PATCH] Fix doc string, only uuid is checked --- internal/core/target_index.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/core/target_index.go b/internal/core/target_index.go index 39c47eca9..43cf87c4a 100644 --- a/internal/core/target_index.go +++ b/internal/core/target_index.go @@ -38,7 +38,7 @@ func (t *TargetIndex) Delete(uuid string) (err error) { return target.(*Target).Destroy() } -// Get target from entry by uuid or name +// Get target from entry by uuid func (t *TargetIndex) Get(uuid string) (entry core.Target, err error) { // Start with finding the target result, err := t.client.FindTarget(t.ctx, &vagrant_server.FindTargetRequest{