Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Take microservice name from ENV, fix topics #1628

Merged
2 commits merged into from
May 16, 2022
Merged

Take microservice name from ENV, fix topics #1628

2 commits merged into from
May 16, 2022

Conversation

ghost
Copy link

@ghost ghost commented May 13, 2022

No description provided.

@ghost ghost self-requested a review May 13, 2022 23:22
@codecov
Copy link

codecov bot commented May 13, 2022

Codecov Report

Merging #1628 (613aeb1) into master (715c106) will increase coverage by 0.01%.
The diff coverage is n/a.

❗ Current head 613aeb1 differs from pull request most recent head 988db49. Consider uploading reports for the commit 988db49 to get more accurate results

@@            Coverage Diff             @@
##           master    #1628      +/-   ##
==========================================
+ Coverage   77.82%   77.83%   +0.01%     
==========================================
  Files         230      230              
  Lines       18186    18181       -5     
==========================================
- Hits        14153    14152       -1     
+ Misses       4033     4029       -4     
Impacted Files Coverage Δ
lib/cosmos/operators/microservice_operator.rb 25.00% <0.00%> (-0.36%) ⬇️
lib/cosmos/topics/topic.rb 90.90% <0.00%> (+26.20%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 80f31bc...988db49. Read the comment docs.

@@ -40,7 +40,7 @@ class Microservice
attr_accessor :scope

def self.run
microservice = self.new(ARGV[0])
microservice = self.new(ENV['MICROSERVICE_NAME'])
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make COSMOS_MICROSERVICE_NAME

Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update to COSMOS_MICROSERVICE_NAME to match other env variables

@ghost ghost merged commit e685b93 into master May 16, 2022
@ghost ghost deleted the microservice branch May 16, 2022 14:41
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant