Guillaume J. Charmes
6998c3c387
go fmt
2013-11-07 12:27:33 -08:00
Mark Allen
3560c922b1
Prevent DNS server conflicts in CreateBridgeIface
...
Retrieve /etc/resolv.conf data (if available)
Add checkNameserverOverlaps and call it to
make sure there are no conflicts
Add utils.GetNameserversAsCIDR and tests
Read /etc/resolv.conf and pull out nameservers,
formatting them as a CIDR block ("1.2.3.4/32")
2013-11-05 21:24:37 -06:00
Michael Crosby
1cbdaebaa1
Add links for container relationships and introspection
2013-10-25 15:13:24 -07:00
Yang Bai
e81da876df
let utils.ParseHost return err when errors happen
2013-10-24 13:23:02 +08:00
Jason McVetta
6678a26d1c
gofmt
2013-09-09 15:11:30 -07:00
shin-
b3a70d767d
Compute dependency graph and upload layers in the right order when pushing
2013-09-04 02:21:40 +02:00
Michael Crosby
84431ec03c
Merge pull request #1613 from thijsterlouw/proper_resolvconf_parsing
...
Proper resolv.conf parsing
2013-08-30 12:10:45 -07:00
Mohit Soni
f4432d50c3
Refactored code and added unit tests
...
- Extracted ParseRelease method from GetKernelVersion to make code
more testable
- Added tests for ParseRelease method
2013-08-24 00:24:40 -07:00
Thijs Terlouw
62e84785b6
proper resolv.conf parsing
2013-08-21 15:23:12 +02:00
Pascal Borreli
9b2a5964fc
Fixed typos
2013-08-12 18:53:06 +01:00
Guillaume J. Charmes
dcf9dfb129
Update utils_test.go
2013-08-05 16:32:25 -07:00
Guillaume J. Charmes
3e9575e275
Consider empty /etc/resolv.conf as local dns + add unit test
2013-08-02 15:23:36 -07:00
Victor Vieux
3852d05990
add ParseRepositoryTag tests
2013-07-29 12:16:01 +00:00
Victor Vieux
2e3b660dd0
fix error in utils tests
2013-07-19 13:56:36 +00:00
Guillaume J. Charmes
1004d57b85
Hotfix: make sure ./utils tests pass
2013-07-15 17:58:23 -07:00
Victor Vieux
eca9f9c1a1
fix regrettion in utils tests introduced by #980
2013-06-24 16:12:39 +00:00
Victor Vieux
9632bf2287
add tests
2013-06-19 12:40:01 +00:00
Victor Vieux
b45143da9b
switch to SI standard and add test
2013-05-23 10:29:09 +00:00
Guillaume J. Charmes
10f5b6486c
Update utils_test.go
2013-05-15 17:46:01 -07:00
Guillaume J. Charmes
2e69e1727b
Create a subpackage for utils
2013-05-14 22:37:35 +00:00