lib/automateit/platform_manager/struct.rb in automateit-0.70928 vs lib/automateit/platform_manager/struct.rb in automateit-0.70930
- old
+ new
@@ -61,11 +61,13 @@
return false
end
# See PlatformManager#tags
def tags
- results = @struct.values
- results << query("os#arch") rescue IndexError
+ results = []
+ for key in %w(os arch distro os#arch)
+ results << query(key) rescue IndexError
+ end
release_query = \
if single_vendor?
"os#release" # E.g. windows_xp
else