Skip to content
This repository was archived by the owner on Jun 19, 2020. It is now read-only.

(FACT-2603) Detect virtual on GCE vms#521

Merged
BogdanIrimie merged 1 commit intomasterfrom
FACT-2603
May 19, 2020
Merged

(FACT-2603) Detect virtual on GCE vms#521
BogdanIrimie merged 1 commit intomasterfrom
FACT-2603

Conversation

@oanatmaria
Copy link
Copy Markdown
Contributor

No description provided.

@oanatmaria oanatmaria requested review from a team May 18, 2020 09:19
Comment thread lib/facts/linux/virtual.rb Outdated
Comment on lines +15 to +17
return 'gce' if bios_vendor&.include?('Google')

nil
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

by defult if the return 'gce' is not evaluated check_gce, will return nil. So you can drop the extra nil

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@BogdanIrimie BogdanIrimie merged commit a8bc991 into master May 19, 2020
@BogdanIrimie BogdanIrimie deleted the FACT-2603 branch May 19, 2020 08:46
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants