Skip to content
This repository was archived by the owner on Aug 14, 2020. It is now read-only.

change docker entrypoint/cmd annotations to json#142

Merged
iaguis merged 1 commit intoappc:masterfrom
sjpotter:entrypoint-fix
Mar 17, 2016
Merged

change docker entrypoint/cmd annotations to json#142
iaguis merged 1 commit intoappc:masterfrom
sjpotter:entrypoint-fix

Conversation

@sjpotter
Copy link
Copy Markdown
Contributor

can't serialize them with a join as exec arguments can have a space

@sjpotter
Copy link
Copy Markdown
Contributor Author

@yifan-gu

@yifan-gu
Copy link
Copy Markdown
Contributor

LGTM

@yifan-gu
Copy link
Copy Markdown
Contributor

@iaguis

@iaguis
Copy link
Copy Markdown
Member

iaguis commented Mar 17, 2016

Can you prefix the commit message with "lib/internal:"?

This is just so the users can inspect how the original image was, right?

@iaguis
Copy link
Copy Markdown
Member

iaguis commented Mar 17, 2016

This is just so the users can inspect how the original image was, right?

I'll answer myself: yes (I just checked the original PR for these annotations).

LGTM after changing the commit message

Comment thread lib/internal/internal.go Outdated
if err != nil {
return nil, err
}
annotations = append(annotations, appctypes.Annotation{Name: *appctypes.MustACIdentifier(common.AppcDockerCmd), Value: string(cmd)})
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Weird, I wonder why Value is colored here and not above...

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.

@sjpotter I think you didn't gofmt it.

can't serialize them with a join as exec arguments can have a space
iaguis added a commit that referenced this pull request Mar 17, 2016
change docker entrypoint/cmd annotations to json
@iaguis iaguis merged commit e5eecc7 into appc:master Mar 17, 2016
@iaguis iaguis added this to the 0.9.2 milestone Mar 17, 2016
@sjpotter sjpotter deleted the entrypoint-fix branch May 5, 2016 13:22
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.

3 participants