Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature: add more daemon option in get /info API #1122

Merged
merged 1 commit into from
Apr 13, 2018

Conversation

allencloud
Copy link
Collaborator

@allencloud allencloud commented Apr 12, 2018

Signed-off-by: Allen Sun allensun.shl@alibaba-inc.com

Ⅰ. Describe what this PR did

This PR adds more fields in GET /info API:

  • OS
  • Driver
  • NCPU
  • MemTotal

This PR also adds a system package in pkg which is to fetch system info. Currently, it only fetch os name and memtotal.

Ⅱ. Does this pull request fix one issue?

fixes #1096

Ⅲ. Describe how you did it

Ⅳ. Describe how to verify it

Ⅴ. Special notes for reviews

@codecov-io
Copy link

codecov-io commented Apr 12, 2018

Codecov Report

Merging #1122 into master will increase coverage by 0.05%.
The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1122      +/-   ##
==========================================
+ Coverage   15.89%   15.95%   +0.05%     
==========================================
  Files         172      172              
  Lines        9563     9528      -35     
==========================================
  Hits         1520     1520              
+ Misses       7933     7898      -35     
  Partials      110      110
Impacted Files Coverage Δ
cli/info.go 0% <0%> (ø) ⬆️
daemon/mgr/system.go 0% <0%> (ø) ⬆️
cli/cli.go 0% <0%> (ø) ⬆️
cli/ps.go 0% <0%> (ø) ⬆️

Signed-off-by: Allen Sun <allensun.shl@alibaba-inc.com>
@Letty5411
Copy link
Contributor

LGTM

@pouchrobot pouchrobot added the LGTM one maintainer or community participant agrees to merge the pull reuqest. label Apr 13, 2018
@Letty5411 Letty5411 merged commit 108689e into AliyunContainerService:master Apr 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature LGTM one maintainer or community participant agrees to merge the pull reuqest. size/L
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[feature required] pouch info should implement some needed fields
4 participants