Skip to content

Commit

Permalink
revert to previous greater than syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
zilchms committed Feb 20, 2024
1 parent cdc5f10 commit 189dd44
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions spec/spec_helper_acceptance.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
pcs_version = '0.10.0'
when 'Ubuntu'
default_provider = 'pcs'
pcs_version = if facts[:os]['release']['major'].to_i == 18
'0.9.0'
else
pcs_version = if facts[:os]['release']['major'].to_i > 18
'0.10.0'
else
'0.9.0'
end
end
when 'Suse'
Expand Down
6 changes: 3 additions & 3 deletions spec/spec_helper_corosync.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ def corosync_stack(facts)
pcs_version = '0.10.0'
when 'Ubuntu'
corosync_stack = 'pcs'
pcs_version = if facts[:os]['release']['major'].to_i == 18
'0.9.0'
else
pcs_version = if facts[:os]['release']['major'].to_i > 18
'0.10.0'
else
'0.9.0'
end
end
when 'Suse'
Expand Down

0 comments on commit 189dd44

Please sign in to comment.