Skip to content

Commit 2e1f8c7

Browse files
Remove deprecated Scheme field from custom validation
1 parent d47e43b commit 2e1f8c7

File tree

1 file changed

+1
-1
lines changed
  • cfn-resources/third-party-integration/cmd/resource

1 file changed

+1
-1
lines changed

cfn-resources/third-party-integration/cmd/resource/resource.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ var requiredPerType = map[string][]string{
4141
"FLOWDOCK": {"FlowName", "ApiToken", "OrgName"},
4242
"WEBHOOK": {"Url"},
4343
"MICROSOFT_TEAMS": {"MicrosoftTeamsWebhookUrl"},
44-
"PROMETHEUS": {"UserName", "Password", "ServiceDiscovery", "Scheme", "Enabled"},
44+
"PROMETHEUS": {"UserName", "Password", "ServiceDiscovery", "Enabled"},
4545
}
4646

4747
func validateModel(fields []string, model *Model) *handler.ProgressEvent {

0 commit comments

Comments
 (0)