Skip to content
This repository has been archived by the owner on Sep 22, 2020. It is now read-only.

torusd: add peer-address to http scheme by default #325

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

torusd: add peer-address to http scheme by default #325

wants to merge 1 commit into from

Conversation

nak3
Copy link
Contributor

@nak3 nak3 commented Sep 18, 2016

No description provided.

@nak3
Copy link
Contributor Author

nak3 commented Sep 18, 2016

Or should I use this function to add default scheme?

@barakmich
Copy link
Contributor

Yeah, the intent was to add default scheme

@nak3 nak3 changed the title replication: tiny: remove unused function to add default http scheme torusd: add peer-address to http scheme by default Sep 23, 2016
@nak3
Copy link
Contributor Author

nak3 commented Sep 23, 2016

Alright. I updated.

@@ -262,3 +255,11 @@ func doAutojoin(s *torus.Server) error {
return err
}
}

func addrToUri(addr string) (*url.URL, error) {
Copy link
Contributor

Choose a reason for hiding this comment

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

not a fan of moving util code to cmd main.go. but we do not have any internal util pkg now.

opinions? @barakmich @lpabon

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants