From 3c763ba6942e3b9e54f81a3d64decdc2f411e314 Mon Sep 17 00:00:00 2001 From: Andrew Grande Date: Fri, 12 Jun 2015 16:44:49 -0400 Subject: [PATCH] New Feature: #1342 Get an internal IP of cloud hosted machine (actual implementation for GCE, placeholders for the rest currently) Signed-off-by: Andrew Grande --- drivers/fakedriver/fakedriver.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/fakedriver/fakedriver.go b/drivers/fakedriver/fakedriver.go index 2f7b5ba9d4..a90a761d0b 100644 --- a/drivers/fakedriver/fakedriver.go +++ b/drivers/fakedriver/fakedriver.go @@ -38,7 +38,7 @@ func (d *FakeDriver) GetIP() (string, error) { return "1.2.3.4", nil } -func (d *Driver) GetPrivateIP() (string, error) { +func (d *FakeDriver) GetPrivateIP() (string, error) { return "", errors.New("not implemented") }