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

Adding Set-SystemInfo for Windows #28

Merged
merged 1 commit into from
May 27, 2024

Conversation

fabi200123
Copy link
Contributor

@fabi200123 fabi200123 commented May 27, 2024

  • Adding Set-SystemInfo for Windows

@fabi200123 fabi200123 changed the title Adding Adding Get-SystemInfo for Windows May 27, 2024
@@ -393,6 +393,49 @@ function Invoke-GarmFailure() {
}
}

function Get-SystemInfo {
Copy link
Member

Choose a reason for hiding this comment

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

Just a small nit: Rename this to Set-SystemInfo. We're setting the system info in the GARM API, because we're sending the payload as part of this function. The Get verb is meant for functions that fetch information and present it as a return value. This sets something in a remote system. It never returns anything.

@fabi200123 fabi200123 changed the title Adding Get-SystemInfo for Windows Adding Set-SystemInfo for Windows May 27, 2024
@gabriel-samfira gabriel-samfira merged commit d0fe679 into cloudbase:main May 27, 2024
2 checks passed
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