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

(FACT-2602) Add docker/Lxc resolver for Linux #520

Merged
merged 1 commit into from
May 18, 2020
Merged

Conversation

oanatmaria
Copy link
Contributor

No description provided.

@oanatmaria oanatmaria requested review from a team May 15, 2020 13:49
def read_cgroup(fact_name)
output_cgroup = Util::FileHelper.safe_read('/proc/1/cgroup', nil)
output_environ = Util::FileHelper.safe_read('/proc/1/environ', nil)
return if !output_cgroup || !output_environ
Copy link
Contributor

@BogdanIrimie BogdanIrimie May 18, 2020

Choose a reason for hiding this comment

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

if output_cgroup.nil? || output_environ.nil?

Copy link
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 af8a25a into master May 18, 2020
@BogdanIrimie BogdanIrimie deleted the FACT-2602 branch May 18, 2020 08:53
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.

2 participants