Browse Source

Revert "Remove useless duplication on GetSSHHostname"

This reverts commit b6462eb6d0.

Signed-off-by: David Gageot <david@gageot.net>
David Gageot 3 years ago
parent
commit
a50a88b19d
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      drivers/openstack/openstack.go

+ 4
- 0
drivers/openstack/openstack.go View File

@@ -218,6 +218,10 @@ func NewDerivedDriver(hostName, storePath string) *Driver {
218 218
 	}
219 219
 }
220 220
 
221
+func (d *Driver) GetSSHHostname() (string, error) {
222
+	return d.GetIP()
223
+}
224
+
221 225
 func (d *Driver) DriverName() string {
222 226
 	return "openstack"
223 227
 }

Loading…
Cancel
Save