genuinetools / riddler

A tool to convert docker inspect to the opencontainers runc spec.
MIT License
253 stars 21 forks source link

Sometimes the field "c.HostConfig.Resources.MemorySwappiness" is nil. #20

Closed lifubang closed 6 years ago

lifubang commented 6 years ago

fix the issue #19

codecov[bot] commented 6 years ago

Codecov Report

Merging #20 into master will decrease coverage by 0.06%. The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master     #20      +/-   ##
=========================================
- Coverage    6.21%   6.14%   -0.07%     
=========================================
  Files           3       3              
  Lines         354     358       +4     
=========================================
  Hits           22      22              
- Misses        331     335       +4     
  Partials        1       1
Impacted Files Coverage Δ
parse/config.go 0% <0%> (ø) :arrow_up:
parse/devices.go 0% <0%> (ø) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 6148709...6c3a1a5. Read the comment docs.

jessfraz commented 6 years ago

thanks!!