Skip to content

Commit

Permalink
fix: change integrationType
Browse files Browse the repository at this point in the history
  • Loading branch information
artaasadi committed Oct 29, 2024
1 parent 3f20bde commit e80ab46
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/describe/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package describe

import (
"github.com/opengovern/og-util/pkg/describe/enums"
"github.com/opengovern/og-util/pkg/source"
"github.com/opengovern/og-util/pkg/integration"
"github.com/opengovern/og-util/pkg/vault"
)

Expand All @@ -12,7 +12,7 @@ type DescribeJob struct {
SourceID string
AccountID string
DescribedAt int64
SourceType source.Type
SourceType integration.Type
CipherText string
TriggerType enums.DescribeTriggerType
RetryCounter uint
Expand Down Expand Up @@ -48,7 +48,7 @@ type DescribeWorkerInput struct {
// CostDiscovery bool
// Summarize bool
type ResourceType interface {
GetConnector() source.Type
GetConnector() integration.Type
GetResourceName() string
GetResourceLabel() string
GetServiceName() string
Expand Down
3 changes: 3 additions & 0 deletions pkg/integration/type.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
package integration

type Type string

0 comments on commit e80ab46

Please sign in to comment.