Skip to content

Commit

Permalink
fix: fix describe single function
Browse files Browse the repository at this point in the history
  • Loading branch information
artaasadi committed Nov 29, 2024
1 parent 1b19208 commit 1df67da
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/describer/resources.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,5 +94,5 @@ func describeSingle(ctx context.Context, logger *zap.Logger, accountCfg configs.
}
ctx = describer.WithLogger(ctx, logger)

return resourceTypeObject.GetDescriber(ctx, accountCfg, triggerType, resourceID, additionalParameters)
return resourceTypeObject.GetDescriber(ctx, accountCfg, triggerType, additionalParameters, resourceID)
}
2 changes: 1 addition & 1 deletion pkg/sdk/models/resource_type.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (

// any types are used to load your provider configuration.
type ResourceDescriber func(context.Context, configs.IntegrationCredentials, enums.DescribeTriggerType, map[string]string, *StreamSender) ([]Resource, error)
type SingleResourceDescriber func(context.Context, configs.IntegrationCredentials, enums.DescribeTriggerType, string, map[string]string) (*Resource, error)
type SingleResourceDescriber func(context.Context, configs.IntegrationCredentials, enums.DescribeTriggerType, map[string]string, string) (*Resource, error)

type ResourceType struct {
IntegrationType integration.Type
Expand Down

0 comments on commit 1df67da

Please sign in to comment.