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

service-port placeholder, marathon tag #38

Merged
merged 1 commit into from
Aug 28, 2019
Merged

service-port placeholder, marathon tag #38

merged 1 commit into from
Aug 28, 2019

Conversation

ojagodzinski
Copy link
Member

@ojagodzinski ojagodzinski commented Aug 28, 2019

  • add marathon-tag to Mesos service registations
  • resolve service-port placeholder

@ojagodzinski ojagodzinski force-pushed the ojag_hookupdate branch 2 times, most recently from f93307e to 0e0f9bc Compare August 28, 2019 09:51
@codecov-io
Copy link

codecov-io commented Aug 28, 2019

Codecov Report

Merging #38 into master will increase coverage by 1.95%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master     #38      +/-   ##
=========================================
+ Coverage   75.94%   77.9%   +1.95%     
=========================================
  Files           5       5              
  Lines         237     258      +21     
=========================================
+ Hits          180     201      +21     
  Misses         39      39              
  Partials       18      18
Impacted Files Coverage Δ
mesos/agent.go 66.66% <ø> (ø) ⬆️
mesos/provider.go 85.55% <100%> (+4.39%) ⬆️

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 7c10503...6913724. Read the comment docs.

@tomez tomez merged commit 53d73ca into master Aug 28, 2019
service := consul.ServiceInstance{
ID: fmt.Sprintf("%s_%d", hostname, port.Number),
Name: consulServiceName,
Host: hostname,
Port: port.Number,
Tags: tags,
Tags: append(portTags, globalTags...),

Choose a reason for hiding this comment

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

mesos-executor and marathon-consul resolve placeholders also in globalTags. Here we don't resolve placeholders in global tags, which is inconsistent.

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.

None yet

5 participants