Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

unused vars in 'weave' script #1748

Closed
rade opened this issue Dec 2, 2015 · 5 comments
Closed

unused vars in 'weave' script #1748

rade opened this issue Dec 2, 2015 · 5 comments
Assignees
Labels
Milestone

Comments

@rade
Copy link
Member

rade commented Dec 2, 2015

according to shellcheck the following vars are unused:

  • PROXY_PORT
  • WITH_DNS
  • IPAM_CIDRs
  • CLIENT_TLS_ENABLED

IPAM_CIDRs is just a typo. PROXY_PORT and CLIENT_TLS_ENABLED are probably leftovers. @paulbellamy? WITH_DNS is suspicious, since it corresponds to a documented weave run option.

@rade rade added the bug label Dec 2, 2015
@rade rade added this to the 1.3.2 milestone Dec 2, 2015
@paulbellamy
Copy link
Contributor

I believe that PROXY_PORT and CLIENT_TLS_ENABLED are leftovers, yes.

@rade
Copy link
Member Author

rade commented Dec 2, 2015

I have fixed the IPAM_CIDRs complaint in 20a48f0 and the PROXY_PORT issue in 3909936.

@rade
Copy link
Member Author

rade commented Dec 2, 2015

The use of CLIENT_TLS_ENABLED got removed in #1679. @awh @paulbellamy. So it's not on 1.3, so not part of this issue. Closing.

@rade rade closed this as completed Dec 2, 2015
@rade rade reopened this Dec 2, 2015
@rade
Copy link
Member Author

rade commented Dec 2, 2015

Closing.

oops, forgot about WITH_DNS. -> re-opening.

@rade
Copy link
Member Author

rade commented Dec 2, 2015

--with-dns on weave run became non-functional when we merged the dns server into the router container. Yet we still have code and docs for it. We should fix that. NB: doc fix should go on latest_release_doc_updates.

Note that the proxy --with-dns does still do something atm, namely configuring containers to use weavedns even when weave may not be running at the time. I am not convinced this is all that useful. Covered by #1754.

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

No branches or pull requests

4 participants