Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BugFix] Handle error when sub doesn't exist in check-cbsensor #226

Merged
merged 2 commits into from
Oct 4, 2024

Conversation

singhgss
Copy link
Contributor

@singhgss singhgss commented Oct 2, 2024

Overview/Summary

This Pull Request addresses an error occurring in the main.ps1 runbook, specifically related to the execution of the Check-CBSSensors module. The error was caused by an issue with setting the "Comments" property, which was not found on the object.

This PR fixes/adds/changes/removes

  1. Bug Fix: Corrected the issue in the Check-CBSSensors module where the "Comments" property was not found, causing a failure in the runbook execution.
    Fixes v2.1.0: Error in the main.ps1 runbook #221

Breaking Changes

  1. None

Testing Evidence

The fix was tested by running the main.ps1 runbook after applying the changes. The runbook successfully executed the Check-CBSSensors module without errors related to the missing "Comments" property.

As part of this Pull Request I have

  • Checked for duplicate Pull Requests
  • Associated it with relevant GitHub Issues
  • Ensured my code/branch is up-to-date with the latest changes in the main branch
  • Performed testing and provided evidence.
  • Updated relevant and associated documentation.
  • Ensured PowerShell module versions have been updated (manually or with the ./tools/Update-ModuleVersions.ps1 script).

@singhgss singhgss merged commit 7ab40b4 into main Oct 4, 2024
4 checks passed
@singhgss singhgss deleted the gsingh/fix-checkcbsensors branch October 4, 2024 18:13
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.

v2.1.0: Error in the main.ps1 runbook
2 participants