Skip to content

Commit 5ef3a88

Browse files
committed
fix: delete duplicate nats config
1 parent 8e6c7ea commit 5ef3a88

File tree

2 files changed

+6
-14
lines changed

2 files changed

+6
-14
lines changed

plugin/integration/configs/nats.go

Lines changed: 0 additions & 9 deletions
This file was deleted.

plugin/integration/integration/github_account.go

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import (
44
"encoding/json"
55
"github.com/jackc/pgtype"
66
"github.com/opengovern/og-describer-github/describer/pkg/wrapper"
7+
configs2 "github.com/opengovern/og-describer-github/describer/provider/configs"
78
"github.com/opengovern/og-describer-github/plugin/integration/configs"
89
"github.com/opengovern/og-describer-github/plugin/integration/discovery"
910
"github.com/opengovern/og-describer-github/plugin/integration/healthcheck"
@@ -17,11 +18,11 @@ type Integration struct{}
1718

1819
func (i *Integration) GetConfiguration() interfaces.IntegrationConfiguration {
1920
return interfaces.IntegrationConfiguration{
20-
NatsScheduledJobsTopic: configs.JobQueueTopic,
21-
NatsManualJobsTopic: configs.JobQueueTopicManuals,
22-
NatsStreamName: configs.StreamName,
23-
NatsConsumerGroup: configs.ConsumerGroup,
24-
NatsConsumerGroupManuals: configs.ConsumerGroupManuals,
21+
NatsScheduledJobsTopic: configs2.JobQueueTopic,
22+
NatsManualJobsTopic: configs2.JobQueueTopicManuals,
23+
NatsStreamName: configs2.StreamName,
24+
NatsConsumerGroup: configs2.ConsumerGroup,
25+
NatsConsumerGroupManuals: configs2.ConsumerGroupManuals,
2526

2627
SteampipePluginName: "github",
2728

0 commit comments

Comments
 (0)