diff options
author | Tim Smith <tsmith@chef.io> | 2020-04-28 07:54:54 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-28 07:54:54 -0700 |
commit | a1bfe13b5cef7ec51c42b3b3797eb620c486ea31 (patch) | |
tree | ec20c4612346c795776380136c3d1e05ec51c0b5 | |
parent | 2f7ca950f1b2834bc0dd9083c5abfead731d4001 (diff) | |
download | chef-a1bfe13b5cef7ec51c42b3b3797eb620c486ea31.tar.gz |
Update RELEASE_NOTES.md
Signed-off-by: Tim Smith <tsmith@chef.io>
Co-Authored-By: mjingle <mjinglewski@chef.io>
-rw-r--r-- | RELEASE_NOTES.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index 19f82519d5..7c7a77b015 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -407,7 +407,7 @@ We've optimized the Chef Infra Client for modern Windows releases and improved t ### Simpler Version Comparisons with node[:platform_version] -The `node['platform_version']` attribute returned from Ohai can now be intelligently compared as a version instead of a String or Integer. Previously, to compare the platform_version, many users would first convert the version String to a Float with `node['platform_version']`. This introduced problems on many platforms such as macOS where macOS 10.9 would appear to be a greater version number than 10.15. You can now directly compare the version without converting it first. +The `node['platform_version']` attribute returned from Ohai can now be intelligently compared as a version instead of as a String or Integer. Previously, to compare the platform_version, many users would first convert the version String to a Float with `node['platform_version']`. This introduced problems on many platforms, such as macOS, where macOS 10.9 would appear to be a greater version number than 10.15. You can now directly compare the version without converting it first. Greater than or equal comparison: |