From 4c9cfed7439c181754f5f6f73ce79d390a4002cd Mon Sep 17 00:00:00 2001 From: Lars Lehtonen Date: Mon, 11 Nov 2019 20:56:55 -0800 Subject: [PATCH] builder/ncloud: fix dropped error --- builder/ncloud/step_create_public_ip_instance.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/builder/ncloud/step_create_public_ip_instance.go b/builder/ncloud/step_create_public_ip_instance.go index ce4bac5f3..39c31966c 100644 --- a/builder/ncloud/step_create_public_ip_instance.go +++ b/builder/ncloud/step_create_public_ip_instance.go @@ -81,6 +81,9 @@ func (s *StepCreatePublicIPInstance) createPublicIPInstance(serverInstanceNo str s.Say(fmt.Sprintf("Public IP Instance [%s:%s] is created", publicIPInstance.PublicIPInstanceNo, publicIP)) err = s.waiterAssociatePublicIPToServerInstance(serverInstanceNo, publicIP) + if err != nil { + return nil, err + } return &publicIPInstance, nil }