From 005dd6afb677f792e63e68f42b36bcc88961c99c Mon Sep 17 00:00:00 2001 From: Zhuolun Liu Date: Thu, 11 Jul 2024 10:24:17 -0400 Subject: [PATCH] trim templatespec suffix for Azure machine profile --- internal/daas/machine_catalog/machine_config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/daas/machine_catalog/machine_config.go b/internal/daas/machine_catalog/machine_config.go index bd4c5df..d0c7cdb 100644 --- a/internal/daas/machine_catalog/machine_config.go +++ b/internal/daas/machine_catalog/machine_config.go @@ -1434,7 +1434,7 @@ func parseAzureMachineProfileResponseToModel(machineProfileResponse citrixorches }) if templateSpecIndex != -1 { - templateSpec := strings.TrimSuffix(machineProfileSegments[templateSpecIndex], ".templatespecversion") + templateSpec := strings.TrimSuffix(machineProfileSegments[templateSpecIndex], ".templatespec") machineProfileModel.MachineProfileTemplateSpecName = types.StringValue(templateSpec) } } else {