Skip to content

Commit

Permalink
Fixed validation
Browse files Browse the repository at this point in the history
  • Loading branch information
jbristowe committed Dec 1, 2020
1 parent eca0f88 commit 5722ea0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion octopusdeploy/endpoint.go
Expand Up @@ -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
}
Expand Down

0 comments on commit 5722ea0

Please sign in to comment.