From 0b73d757bfd6589eb8dde8e802e27cc3cfea997d Mon Sep 17 00:00:00 2001
From: odubajDT <93584209+odubajDT@users.noreply.github.com>
Date: Mon, 4 Apr 2022 14:43:12 +0200
Subject: [PATCH] fix(go-utils): Make AutomaticProvisioning parameter required
 in metadata model (#435)

Signed-off-by: odubajDT <ondrej.dubaj@dynatrace.com>
---
 pkg/api/models/metadata.go | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/pkg/api/models/metadata.go b/pkg/api/models/metadata.go
index 202a25c2..df4066dd 100644
--- a/pkg/api/models/metadata.go
+++ b/pkg/api/models/metadata.go
@@ -6,7 +6,8 @@ import "encoding/json"
 type Metadata struct {
 
 	// automaticprovisioning
-	Automaticprovisioning bool `json:"automaticprovisioning,omitempty"`
+	// Required: true
+	Automaticprovisioning *bool `json:"automaticprovisioning"`
 
 	// bridgeversion
 	Bridgeversion string `json:"bridgeversion,omitempty"`