Skip to content

Commit

Permalink
#68 | Correcting Enable RabbitMQ and Kakfa variable correctly in main…
Browse files Browse the repository at this point in the history
….go and circle-ci file
  • Loading branch information
Lohith KM committed Oct 28, 2020
1 parent 09c016b commit c8df422
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
CLAMP_KAFKA_CONNECTION_STR: "localhost:9092"
CLAMP_QUEUE_CONNECTION_STR: "amqp://guest:guest@localhost:5672/"
ENABLE_KAFKA_INTEGRATION: true
EnableRabbitMQIntegration: true
ENABLE_AMQP_INTEGRATION: true
command: |
if [ $CIRCLE_BRANCH == 'master' ]; then
./cc-test-reporter before-build
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ func main() {
os.Exit(0)
}

if config.ENV.EnableKafkaIntegration {
if config.ENV.EnableRabbitMQIntegration {
listeners.AmqpStepResponseListener.Listen()
}
if config.ENV.EnableKafkaIntegration {
Expand Down

0 comments on commit c8df422

Please sign in to comment.