Thanks to visit codestin.com
Credit goes to github.com

Skip to content

daemon: resolve the graphdriver to show#8510

Merged
jessfraz merged 1 commit into
moby:masterfrom
hqhq:graphdriver_bug
Oct 31, 2014
Merged

daemon: resolve the graphdriver to show#8510
jessfraz merged 1 commit into
moby:masterfrom
hqhq:graphdriver_bug

Conversation

@hqhq

@hqhq hqhq commented Oct 11, 2014

Copy link
Copy Markdown
Contributor

graphdriver is not always specified when the log printed, because
it's provided in another thread. This patch will fix this.

Signed-off-by: Qiang Huang [email protected]

Comment thread daemon/daemon.go Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I'm not totally sure that we want to get this information by overwritting the configuration from a client. Maybe getting this via n Info method is better

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.

@crosbymichael right now we can get these information from two ways: the daemon method and the daemonCfg, if we want to print this information in mainDaemon(), I'm not sure how we can use a method to get that. And daemonCfg.GraphDriver is out dated in NewDaemonFromDirectory(), so I think update this is reasonable.What do you think?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

In docker/daemon.go can you just call daemon.Info() or something like that to get the information that you want?

graphdriver is not always specified when the log printed, because
it's provided in another thread. This patch will fix this.

Signed-off-by: Qiang Huang <[email protected]>
@hqhq

hqhq commented Oct 21, 2014

Copy link
Copy Markdown
Contributor Author

@crosbymichael what about now?

@hqhq

hqhq commented Oct 30, 2014

Copy link
Copy Markdown
Contributor Author

@crosbymichael @vieux ping...

@crosbymichael

Copy link
Copy Markdown
Contributor

LGTM

1 similar comment
@jessfraz

Copy link
Copy Markdown
Contributor

LGTM

jessfraz pushed a commit that referenced this pull request Oct 31, 2014
daemon: resolve the graphdriver to show
@jessfraz jessfraz merged commit 793fb26 into moby:master Oct 31, 2014
@hqhq hqhq deleted the graphdriver_bug branch November 12, 2014 08:38
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.

3 participants