Skip to content

Commit

Permalink
Apply the linter to remove all the foodcritic exemption for the ones …
Browse files Browse the repository at this point in the history
…migrated to cookstyle: rest of itchef

Summary: Apply the second diff of the stack onto the rest of `itchef` codebase

Differential Revision: D53077186

fbshipit-source-id: 3f6c3dc338d65dd622b163a46330a47bc7293575
  • Loading branch information
Olivier Raginel authored and facebook-github-bot committed Jan 27, 2024
1 parent 2db57f7 commit 916de38
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cookbooks/ci_fixes/attributes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@
'Plugin Virtualization Monkeypatch: /proc/self/cgroup indicates ' +
"#{$1} container. Detecting as #{$1} guest",
)
node.automatic['virtualization']['system'] = $1 # ~FC047
node.automatic['virtualization']['role'] = 'guest' # ~FC047
node.automatic['virtualization']['systems'][$1.to_s] = 'guest' # ~FC047
node.automatic['virtualization']['system'] = $1 # rubocop:disable Chef/Meta/UseNodeDefault
node.automatic['virtualization']['role'] = 'guest' # rubocop:disable Chef/Meta/UseNodeDefault
node.automatic['virtualization']['systems'][$1.to_s] = 'guest' # rubocop:disable Chef/Meta/UseNodeDefault
end
end
else
Expand Down

0 comments on commit 916de38

Please sign in to comment.