Skip to content

fix: check file exists before sourcing#8391

Merged
timmy-wright merged 1 commit intomainfrom
timmy/fix-error-in-bootstraping
Apr 24, 2026
Merged

fix: check file exists before sourcing#8391
timmy-wright merged 1 commit intomainfrom
timmy/fix-error-in-bootstraping

Conversation

@timmy-wright
Copy link
Copy Markdown
Contributor

Check that the windows secure bootstrap file exists before sourcing it.

What this PR does / why we need it:

Which issue(s) this PR fixes:

Fixes #

Copilot AI review requested due to automatic review settings April 24, 2026 00:19
@timmy-wright timmy-wright changed the title bug: check file exists before sourcing fix: check file exists before sourcing Apr 24, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the Windows CSE bootstrap script to avoid failures when the Secure TLS bootstrap function script is not present by checking for the file before dot-sourcing it.

Changes:

  • Guard dot-sourcing of securetlsbootstrapfunc.ps1 with a Test-Path existence check.
  • Log a message and continue when the script is missing.

@rchincha rchincha requested a review from Copilot April 24, 2026 02:11
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.

@timmy-wright timmy-wright merged commit b1738df into main Apr 24, 2026
38 of 39 checks passed
@timmy-wright timmy-wright deleted the timmy/fix-error-in-bootstraping branch April 24, 2026 02:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants