Skip to content

Commit 8c175fd

Browse files
author
Damien Bergamini
committed
move "coreos" before "redhat" as os name may contain both
Fixes the "Red Hat Enterprise Linux (CoreOS)" case. Signed-off-by: Damien Bergamini <[email protected]>
1 parent 8aa2249 commit 8c175fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/models/operating_system.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ class OperatingSystem < ApplicationRecord
2020
["linux_chrome", %w[chromeos]],
2121
["linux_chromium", %w[chromiumos]],
2222
["linux_suse", %w[suse sles]],
23+
["linux_coreos", %w[coreos]],
2324
["linux_redhat", %w[redhat rhel]],
2425
["linux_fedora", %w[fedora]],
2526
["linux_gentoo", %w[gentoo]],
2627
["linux_centos", %w[centos]],
2728
["linux_debian", %w[debian]],
28-
["linux_coreos", %w[coreos]],
2929
["linux_esx", %w[vmnixx86 vmwareesxserver esxserver vmwareesxi]],
3030
["linux_solaris", %w[solaris]],
3131
["linux_oracle", %w[oracle]],

0 commit comments

Comments
 (0)