Skip to content

Conversation

@jkossak
Copy link
Contributor

@jkossak jkossak commented Oct 17, 2025

Description

Remove earlier deprecated fields from:

  • instance: desired_os (reomved), current_os (replaced by "os") update_status_details (moved to osUpdateRun)
  • os: update_sources, kernel_command (both moved to osUpdatePolicy)
  • osUpdatePolicy: kernel_command (replaced by update_kernel_command), install_packages (replaced by update_packages)

Related PR for apiv2: #596

Fixes # (issue)

Any Newly Introduced Dependencies

Please describe any newly introduced 3rd party dependencies in this change. List their name, license information and how they are used in the project.

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

Checklist:

  • I agree to use the APACHE-2.0 license for my code changes
  • I have not introduced any 3rd party dependency changes
  • I have performed a self-review of my code

@jkossak jkossak changed the title Inv remove deprecated Inventory: remove deprecated fields from instance, os and osUpdatePolicy resources Oct 31, 2025
}

func setEdgeDesiredOSIDForMut(
/*func setEdgeDesiredOSIDForMut(
Copy link
Contributor

Choose a reason for hiding this comment

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

If not used anymore, let's remove rather than comment out

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I will clean the commented out code

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done - removed all redundant code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants