Skip to content
Browse files

[TOOLS-112] Remove platform_version from /etc/release switch

  • Loading branch information...
1 parent 0496ee6 commit 343f0d623c1022535c4695ac22cb7a2e3a6a96fb trevoro committed Apr 13, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 lib/ohai/plugins/solaris2/platform.rb
View
3 lib/ohai/plugins/solaris2/platform.rb
@@ -51,9 +51,8 @@
platform "solaris2"
when /^\s*(NexentaCore)\s.*$/
platform "nexentacore"
- when /^\s*(SmartOS)\s(\d{8}T\d{6}Z)\s.*$/
+ when /^\s*(SmartOS)\s.*$/
platform "smartos"
- platform_version $2
end
end
end

0 comments on commit 343f0d6

Please sign in to comment.
Something went wrong with that request. Please try again.