From 46ff2a0f998d4dcbfac14b60bae2ad96d49e93b9 Mon Sep 17 00:00:00 2001 From: Danny Bessems Date: Fri, 23 Dec 2022 12:50:22 +0100 Subject: [PATCH] Add feedback on success --- .drone.yml | 2 +- cmd/vappprop-manager/main.go | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 9ee0fb9..642382c 100644 --- a/.drone.yml +++ b/.drone.yml @@ -3,7 +3,7 @@ type: kubernetes name: 'Golang Build' environment: - BINARY_VERSION: v0.3.0 + BINARY_VERSION: v0.3.1 clone: disable: true diff --git a/cmd/vappprop-manager/main.go b/cmd/vappprop-manager/main.go index 1814057..976f0ad 100644 --- a/cmd/vappprop-manager/main.go +++ b/cmd/vappprop-manager/main.go @@ -47,4 +47,6 @@ func main() { if err := hypervisor.SetVirtualMachineProperties(ctx, fnd, opts.VirtualMachine, opts.Network); err != nil { log.Fatalf("[ERROR] Could not apply vApp properties: %s", err) } + + log.Printf("[SUCCESS] Network protocol profile properties added to virtual machine '%s' and configured for network '%s'", opts.VirtualMachine, opts.Network) }