Skip to content
This repository has been archived by the owner on Nov 23, 2019. It is now read-only.

Add a Machine Readable State for container #45

Merged
merged 1 commit into from
Jan 15, 2016
Merged

Add a Machine Readable State for container #45

merged 1 commit into from
Jan 15, 2016

Conversation

vdemeester
Copy link
Contributor

See moby/moby#18966

/cc @calavera @MHBauer

Signed-off-by: Vincent Demeester vincent@sbr.pm

See moby/moby#18966

Signed-off-by: Vincent Demeester <vincent@sbr.pm>
@mariusGundersen
Copy link

s/human/machine 😆

@vdemeester
Copy link
Contributor Author

@mariusGundersen damn you're right.. did write it too quick 😝

@vdemeester vdemeester changed the title Add a Human Readable State for container Add a Machine Readable State for container Jan 14, 2016
@@ -142,6 +142,7 @@ type Container struct {
SizeRw int64 `json:",omitempty"`
SizeRootFs int64 `json:",omitempty"`
Labels map[string]string
State string
Status string
Copy link
Contributor

Choose a reason for hiding this comment

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

In moby/moby#18966 code or doc, the order is State after Status.

    Status     string
 +  State      string

Copy link
Contributor Author

Choose a reason for hiding this comment

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

true 😝 But I thought it made more sense to make it alphabetically (but Labels is not so... meh.. 😃)

@dongluochen
Copy link
Contributor

LGTM.

@thaJeztah
Copy link
Member

ping @calavera @MHBauer for review / merge :)

@calavera
Copy link
Contributor

LGTM

calavera added a commit that referenced this pull request Jan 15, 2016
Add a Machine Readable State for container
@calavera calavera merged commit f63e0ce into docker:master Jan 15, 2016
@vdemeester vdemeester deleted the docker-18966-add-state branch January 15, 2016 20:03
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants