Skip to content

Commit b542f41

Browse files
Apply suggestion from @brandtkeller
Co-authored-by: Brandt Keller <43887158+brandtkeller@users.noreply.github.com> Signed-off-by: Austin Abro <37223396+AustinAbro321@users.noreply.github.com>
1 parent 7fff2fc commit b542f41

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/pkg/wait/wait.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ func ForResource(ctx context.Context, kind, identifier, condition, namespace str
8181
err = wait.PollUntilContextTimeout(ctx, waitInterval, time.Until(deadline), true, func(_ context.Context) (bool, error) {
8282
groupResources, err := restmapper.GetAPIGroupResources(discoveryClient)
8383
if err != nil {
84-
return true, fmt.Errorf("failed to get API group resources, retrying: %w", err)
84+
return true, fmt.Errorf("failed to get API group resources: %w", err)
8585
}
8686
restMapper := restmapper.NewShortcutExpander(restmapper.NewDiscoveryRESTMapper(groupResources), discoveryClient, nil)
8787
mapping, err = resolveResourceKind(restMapper, kind)

0 commit comments

Comments
 (0)