Skip to content

Conversation

wking
Copy link
Contributor

@wking wking commented May 9, 2017

Avoid injecting "consoleSize":{"height":0,"width":0} when serializing with Go's stock JSON serializer. Using a pointer for this optional struct property works around golang/go#11939.

Spun off from #759.

Avoid injecting:

  "consoleSize":{"height":0,"width":0}

when serializing with Go's stock JSON serializer. Using a pointer for
this optional struct property works around [1].

[1]: golang/go#11939

Signed-off-by: W. Trevor King <wking@tremily.us>
@mrunalp
Copy link
Contributor

mrunalp commented May 9, 2017

LGTM

Approved with PullApprove

1 similar comment
@crosbymichael
Copy link
Member

crosbymichael commented May 9, 2017

LGTM

Approved with PullApprove

@crosbymichael crosbymichael merged commit a6d839b into opencontainers:master May 9, 2017
@wking wking deleted the pointer-for-console-size branch May 9, 2017 23:49
@vbatts vbatts mentioned this pull request Jul 5, 2017
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