From 7966e202b7f4de1d45e316e3e0fb5ca5f344cd05 Mon Sep 17 00:00:00 2001 From: Robert Neumayer Date: Tue, 13 Feb 2018 13:25:48 +0100 Subject: [PATCH 1/2] Fix typo --- builder/oracle/oci/config_test.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/builder/oracle/oci/config_test.go b/builder/oracle/oci/config_test.go index 9a6bd6486..84002e937 100644 --- a/builder/oracle/oci/config_test.go +++ b/builder/oracle/oci/config_test.go @@ -24,7 +24,8 @@ func testConfig(accessConfFile *os.File) map[string]interface{} { "subnet_ocid": "ocd1...", // Comm - "ssh_username": "opc", + "ssh_username": "opc", + "use_private_ip": false, } } @@ -167,7 +168,7 @@ func TestConfig(t *testing.T) { }) // Test that AccessCfgFile properties are overridden by their - // corosponding template keys. + // corresponding template keys. accessOverrides := map[string]string{ "user_ocid": "User", "tenancy_ocid": "Tenancy", From ff30b3b3f706ab952e0a6962fa06107bd503e013 Mon Sep 17 00:00:00 2001 From: Robert Neumayer Date: Tue, 13 Feb 2018 14:23:19 +0100 Subject: [PATCH 2/2] Remove unrelated changes --- builder/oracle/oci/config_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/builder/oracle/oci/config_test.go b/builder/oracle/oci/config_test.go index 84002e937..f1352aafa 100644 --- a/builder/oracle/oci/config_test.go +++ b/builder/oracle/oci/config_test.go @@ -24,8 +24,7 @@ func testConfig(accessConfFile *os.File) map[string]interface{} { "subnet_ocid": "ocd1...", // Comm - "ssh_username": "opc", - "use_private_ip": false, + "ssh_username": "opc", } }