Skip to content

Commit

Permalink
fix: fix tags
Browse files Browse the repository at this point in the history
  • Loading branch information
artaasadi committed Nov 10, 2024
1 parent f26bdda commit 63bba55
Show file tree
Hide file tree
Showing 6 changed files with 7,304 additions and 20,251 deletions.
8 changes: 0 additions & 8 deletions DockerFile

This file was deleted.

2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ require (
github.com/manicminer/hamilton v0.44.0
github.com/microsoftgraph/msgraph-sdk-go v1.51.0
github.com/nats-io/nats.go v1.36.0
github.com/opengovern/og-util v1.0.6-0.20241108102418-e20a35efc8ca
github.com/opengovern/og-util v1.1.0
github.com/opengovern/opengovernance v0.434.59-feat-integrations-service.0
github.com/spf13/cobra v1.8.1
github.com/tombuildsstuff/giovanni v0.18.0
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -986,6 +986,8 @@ github.com/olekukonko/tablewriter v0.0.5 h1:P2Ga83D34wi1o9J6Wh1mRuqd4mF/x/lgBS7N
github.com/olekukonko/tablewriter v0.0.5/go.mod h1:hPp6KlRPjbx+hW8ykQs1w3UBbZlj6HuIJcUGPhkA7kY=
github.com/opengovern/og-util v1.0.6-0.20241108102418-e20a35efc8ca h1:yeF0lhv15WWULbOb811lVAv/KTY5nfsA0dkzd4GODlk=
github.com/opengovern/og-util v1.0.6-0.20241108102418-e20a35efc8ca/go.mod h1:7l7fNhK6uewIwA0cs7QagJuhjt/E6hEAC01SR8Y0kKk=
github.com/opengovern/og-util v1.1.0 h1:bV2XKX8aIpJGC2CR4kh9CU/rJWPQed76gtVXM2zBDXM=
github.com/opengovern/og-util v1.1.0/go.mod h1:dyn8rhmxq59o1jnbgGfmcUvW7iB/eN6OxoTUUx6jEHA=
github.com/opengovern/opengovernance v0.434.55-feat-integrations-service.0 h1:N7aSSdY9c3nUqyGnVyUDKnrsqyNBtgnJl3ccYXxrAIQ=
github.com/opengovern/opengovernance v0.434.55-feat-integrations-service.0/go.mod h1:R0o3Yf92y4p6onI7bYOWL2VhFmO1Crti2EG2l6MWglA=
github.com/opengovern/opengovernance v0.434.58-feat-integrations-service.0 h1:+Wk+p1thvGe3I1cwxZl5jo//w3WZFTK9ZmfBCiCufLQ=
Expand Down
22 changes: 11 additions & 11 deletions pkg/describer/worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,17 +147,17 @@ func doDescribe(
}

rs.Send(&es.Resource{
PlatformID: uuid.New().String(),
ResourceID: resource.UniqueID(),
ResourceName: resource.Name,
Description: description,
IntegrationType: configs.IntegrationName,
ResourceType: strings.ToLower(job.ResourceType),
IntegrationID: job.IntegrationID,
IntegrationMetadata: metadata,
CanonicalTags: newTags,
DescribedAt: job.DescribedAt,
DescribedBy: strconv.FormatUint(uint64(job.JobID), 10),
PlatformID: uuid.New().String(),
ResourceID: resource.UniqueID(),
ResourceName: resource.Name,
Description: description,
IntegrationType: configs.IntegrationName,
ResourceType: strings.ToLower(job.ResourceType),
IntegrationID: job.IntegrationID,
Metadata: metadata,
CanonicalTags: newTags,
DescribedAt: job.DescribedAt,
DescribedBy: strconv.FormatUint(uint64(job.JobID), 10),
})
return nil
}
Expand Down
Loading

0 comments on commit 63bba55

Please sign in to comment.