Skip to content

Conversation

ekohl
Copy link
Contributor

@ekohl ekohl commented Aug 26, 2024

The value for cpu.dig(:model, :name) is always nil since that's the condition in the if statement. It was intended to still respect the cpu mode option passed in.

Fixes: 7a3a46b ("Prefer CPU host pass through over explicit models")

@ekohl
Copy link
Contributor Author

ekohl commented Aug 26, 2024

#157 aims to fix RuboCop.

The value for `cpu.dig(:model, :name)` is always `nil` since that's the
condition in the `if` statement. It was intended to still respect the
cpu mode option passed in.

Fixes: 7a3a46b ("Prefer CPU host pass through over explicit models")
@ekohl ekohl force-pushed the fix-setting-cpu-mode branch from ec4c6d0 to 11f3821 Compare August 26, 2024 12:41
@ekohl ekohl merged commit 11f3821 into fog:master Aug 26, 2024
7 checks passed
@ekohl ekohl deleted the fix-setting-cpu-mode branch August 26, 2024 12:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants