From 5594e4a421e6b1e44df5a3640c8cad15c0180d52 Mon Sep 17 00:00:00 2001 From: gearnode Date: Thu, 30 Jan 2025 14:32:03 -0800 Subject: [PATCH] Remove useless pointer Signed-off-by: gearnode --- pkg/probo/probo.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pkg/probo/probo.go b/pkg/probo/probo.go index 68d376d62..316f1f6fb 100644 --- a/pkg/probo/probo.go +++ b/pkg/probo/probo.go @@ -44,7 +44,7 @@ func NewService(ctx context.Context, pgClient *pg.Client) (*Service, error) { }, nil } -func (s *Service) GetOrganization( +func (s Service) GetOrganization( ctx context.Context, organizationID gid.GID, ) (*coredata.Organization, error) { @@ -69,7 +69,7 @@ func (s *Service) GetOrganization( return organization, nil } -func (s *Service) ListOrganizationFrameworks( +func (s Service) ListOrganizationFrameworks( ctx context.Context, organizationID gid.GID, cursor *page.Cursor, @@ -96,7 +96,7 @@ func (s *Service) ListOrganizationFrameworks( return page.NewPage(frameworks, cursor), nil } -func (s *Service) ListFrameworkControls( +func (s Service) ListFrameworkControls( ctx context.Context, frameworkID gid.GID, cursor *page.Cursor, @@ -123,7 +123,7 @@ func (s *Service) ListFrameworkControls( return page.NewPage(controls, cursor), nil } -func (s *Service) ListControlTasks( +func (s Service) ListControlTasks( ctx context.Context, controlID gid.GID, cursor *page.Cursor, @@ -150,7 +150,7 @@ func (s *Service) ListControlTasks( return page.NewPage(tasks, cursor), nil } -func (s *Service) ListControlStateTransitions( +func (s Service) ListControlStateTransitions( ctx context.Context, controlID gid.GID, cursor *page.Cursor, @@ -177,7 +177,7 @@ func (s *Service) ListControlStateTransitions( return page.NewPage(controlStateTransitions, cursor), nil } -func (s *Service) ListTaskEvidences( +func (s Service) ListTaskEvidences( ctx context.Context, taskID gid.GID, cursor *page.Cursor,