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

Add display node ip field to the main config #1392

Merged
merged 8 commits into from
Oct 24, 2022

Conversation

ersonp
Copy link
Contributor

@ersonp ersonp commented Oct 20, 2022

Did you run make format && make check?

Fixes #skywire-services-610

Changes:

  • Added field display_node_ip to main config
  • Removed field display_node_ip from private config
  • Added display_node_ip to Services of service discovery

How to test this PR:

  1. Checkout #skycoin-service-discovery-118
  2. In service-discovery uncomment //replace github.com/skycoin/skywire => ../skywire in go.mod and run make dep
  3. In skywire-services build integration env
  4. Add "display_node_ip": true inside "launcher" of the config of visorB and also set "is_public": true
  5. Check http://service-discovery:9098/api/services?type=visor and see if the IP of visorB shows not not.

This commit adds the fiels DisplayNodeIP to the main config in order to send it to the service discovery.
This commit adds a new flag publicip to config gen.

We remove the fame flag from priv as it is moved from the private config to the main one.
@ersonp ersonp marked this pull request as ready for review October 24, 2022 08:55
@0pcom 0pcom self-requested a review October 24, 2022 13:22
Copy link
Collaborator

@0pcom 0pcom left a comment

Choose a reason for hiding this comment

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

looks good

@0pcom 0pcom merged commit 9ff6b3a into skycoin:develop Oct 24, 2022
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.

2 participants