Skip to content

Commit

Permalink
Update deprecation documentation for windows resources
Browse files Browse the repository at this point in the history
- Colons get removed as we convert to markdown so don't use those here
- Use the full name of the resources
- Clarify that optionalFeatures is desktop only

Signed-off-by: Tim Smith <tsmith84@gmail.com>
  • Loading branch information
tas50 committed Jun 3, 2024
1 parent 9ee37e4 commit 841c822
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions providers/os/resources/os.lr
Original file line number Diff line number Diff line change
Expand Up @@ -1387,7 +1387,7 @@ windows {
// Hotfixes installed on the computer
hotfixes() []windows.hotfix

// Deprecated: use serverFeatures instead
// Deprecated. Use `windows.serverFeatures` instead
features() []windows.feature

// Information about Windows Server roles, role services, and features that are available for installation and installed on a specified server.
Expand All @@ -1412,7 +1412,7 @@ windows.hotfix {
installedBy string
}

// Deprecated: use serverFeature instead
// Deprecated. Use `windows.serverFeature` instead
// Windows feature resource
private windows.feature {
init(name string)
Expand Down Expand Up @@ -1447,7 +1447,7 @@ private windows.serverFeature @defaults("name") {
installState int
}

// Windows optional feature resource
// Windows optional feature resource (desktop-only)
private windows.optionalFeature @defaults("name") {
init(name string)
// Command ID of optional feature
Expand Down

0 comments on commit 841c822

Please sign in to comment.