Skip to content

Commit

Permalink
New Feature: docker#1342 Get an internal IP of cloud hosted machine (…
Browse files Browse the repository at this point in the history
…actual implementation for GCE, placeholders for the rest currently)

Signed-off-by: Andrew Grande <[email protected]>
  • Loading branch information
aperepel committed Jun 12, 2015
1 parent 3c763ba commit 7441c9d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions commands/scp_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ func (d ScpFakeDriver) GetIP() (string, error) {
return "12.34.56.78", nil
}

func (d *ScpFakeDriver) GetPrivateIP() (string, error) {
return "", errors.New("not implemented")
}

func (d ScpFakeDriver) GetState() (state.State, error) {
return d.MockState, nil
}
Expand Down

0 comments on commit 7441c9d

Please sign in to comment.