From 5722ea0fa6e41077d3409213017d0cd91bf0ec30 Mon Sep 17 00:00:00 2001 From: jbristowe Date: Tue, 1 Dec 2020 13:36:55 +1000 Subject: [PATCH] Fixed validation --- octopusdeploy/endpoint.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/octopusdeploy/endpoint.go b/octopusdeploy/endpoint.go index 6e04ca71..f6551c6c 100644 --- a/octopusdeploy/endpoint.go +++ b/octopusdeploy/endpoint.go @@ -5,7 +5,7 @@ import "github.com/go-playground/validator/v10" // endpoint is the base definition of an endpoint and describes its // communication style (SSH, Kubernetes, etc.) type endpoint struct { - CommunicationStyle string `json:"CommunicationStyle" validate:"required,oneof=AzureCloudService AzureServiceFabricCluster Ftp Kubernetes None OfflineDrop Ssh TentacleActive TentaclePassive"` + CommunicationStyle string `json:"CommunicationStyle" validate:"required,oneof=AzureCloudService AzureServiceFabricCluster AzureWebApp Ftp Kubernetes None OfflineDrop Ssh TentacleActive TentaclePassive"` resource }