Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(7)

Unified Diff: provider/manual/provider.go

Issue 82470043: Remove obsolete Public/PrivateAddress methods (Closed)
Patch Set: Remove obsolete Public/PrivateAddress methods Created 11 years ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « provider/maas/environprovider_test.go ('k') | provider/openstack/export_test.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: provider/manual/provider.go
=== modified file 'provider/manual/provider.go'
--- provider/manual/provider.go 2014-02-13 03:16:09 +0000
+++ provider/manual/provider.go 2014-03-31 03:36:17 +0000
@@ -169,16 +169,3 @@
attrs["storage-auth-key"] = envConfig.storageAuthKey()
return attrs, nil
}
-
-func (_ manualProvider) PublicAddress() (string, error) {
- // TODO(axw) 2013-09-10 bug #1222643
- //
- // eth0 may not be the desired interface for traffic to route
- // through. We should somehow make this configurable, and
- // possibly also record the IP resolved during manual bootstrap.
- return utils.GetAddressForInterface("eth0")
-}
-
-func (p manualProvider) PrivateAddress() (string, error) {
- return p.PublicAddress()
-}
« no previous file with comments | « provider/maas/environprovider_test.go ('k') | provider/openstack/export_test.go » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b