Skip to content

Move static check when running on foreground #3742

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

Merged
merged 1 commit into from
Apr 25, 2025

Conversation

mlsmaycon
Copy link
Collaborator

Describe your changes

Issue ticket number and link

Stack

Checklist

  • Is it a bug fix
  • Is a typo/documentation fix
  • Is a feature enhancement
  • It is a refactor
  • Created tests that fail without the change (if possible)
  • Extended the README / documentation, if necessary

@Copilot Copilot AI review requested due to automatic review settings April 25, 2025 15:53
Copy link
Contributor

@Copilot 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 moves the static platform and system information update to occur only when running in foreground (i.e. when logFile is set to "console"), ensuring that the update is skipped for service mode.

  • Relocated system.UpdateStaticInfo() inside the foreground login branch
  • Adjusted comment placement to clarify the update's context
Comments suppressed due to low confidence (1)

client/cmd/login.go:59

  • Moving system.UpdateStaticInfo() inside the 'if logFile == "console"' block means that static platform and system information will not be updated for non-foreground logins. Please confirm that this change is intentional and won't affect service mode functionality.
system.UpdateStaticInfo()

Copy link

@mlsmaycon
Copy link
Collaborator Author

merging since the docker test fix is not there yet

@mlsmaycon mlsmaycon merged commit 4fe4c20 into main Apr 25, 2025
31 of 32 checks passed
@mlsmaycon mlsmaycon deleted the move-static-check-when-foreground branch April 25, 2025 16:25
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