Skip to content

Added logic to copy contentPathTemplate in copyConstructor of VirtualClientComponent#578

Merged
imadityaa merged 1 commit into
microsoft:mainfrom
Kayush14:users/aykhandelwal/vcComponentFix
Sep 25, 2025
Merged

Added logic to copy contentPathTemplate in copyConstructor of VirtualClientComponent#578
imadityaa merged 1 commit into
microsoft:mainfrom
Kayush14:users/aykhandelwal/vcComponentFix

Conversation

@Kayush14
Copy link
Copy Markdown
Contributor

The NetworkWorkloadExecutor uses the copy constructor to create the NttcpExecutor, but this constructor doesn't copy the ContentPathTemplate. As a result, the child executor has it set to null, which leads to a fallback to the defaultPathTemplate. This caused the logs for the NTTTcpExecutor to be created in a different folder.

Added the images below with and without changes around how the contentpathtemplate is passed to the child components created using copy constructor.

image (4) image (3)

@Kayush14 Kayush14 closed this Sep 25, 2025
@Kayush14 Kayush14 reopened this Sep 25, 2025
@imadityaa imadityaa enabled auto-merge (squash) September 25, 2025 12:12
@imadityaa imadityaa merged commit 8094328 into microsoft:main Sep 25, 2025
8 checks passed
@Kayush14 Kayush14 deleted the users/aykhandelwal/vcComponentFix branch September 25, 2025 12:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants