Skip to content

Commit

Permalink
trim templatespec suffix for Azure machine profile
Browse files Browse the repository at this point in the history
  • Loading branch information
zhuolun-citrix committed Jul 11, 2024
1 parent 48297ac commit 005dd6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/daas/machine_catalog/machine_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 005dd6a

Please sign in to comment.