From 9bdfa03ae3cee8ca382bcb61140924f78bd34e8c Mon Sep 17 00:00:00 2001 From: bc0la Date: Tue, 11 Feb 2025 20:27:12 -0500 Subject: [PATCH] fix functionApp matching to allow for other possible Kind values --- cmd/list-function-apps.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd/list-function-apps.go b/cmd/list-function-apps.go index a0554123..91bdca7d 100644 --- a/cmd/list-function-apps.go +++ b/cmd/list-function-apps.go @@ -22,6 +22,7 @@ import ( "fmt" "os" "os/signal" + "strings" "sync" "time" @@ -102,7 +103,7 @@ func listFunctionApps(ctx context.Context, client client.AzureClient, subscripti ResourceGroupName: item.Ok.ResourceGroupName(), TenantId: client.TenantInfo().TenantId, } - if functionApp.Kind == "functionapp" { + if strings.Contains(functionApp.Kind, "functionapp") { log.V(2).Info("found function app", "functionApp", functionApp) count++ if ok := pipeline.SendAny(ctx.Done(), out, AzureWrapper{