Skip to content

Commit a6ff003

Browse files
committed
(CONT-809) Correct Style/ClassEqualityComparison
1 parent 89af7c6 commit a6ff003

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tasks/abs.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def provision(platform, inventory_location, vars)
4141

4242
headers = { 'X-AUTH-TOKEN' => token_from_fogfile('abs'), 'Content-Type' => 'application/json' }
4343
priority = ENV['CI'] ? 1 : 2
44-
payload = if platform.class == String
44+
payload = if platform.instance_of?(String)
4545
{ 'resources' => { platform => 1 },
4646
'priority' => priority,
4747
'job' => { 'id' => job_id,

0 commit comments

Comments
 (0)