You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
specs-go/config: Use a pointer for Process.ConsoleSize
Fix:
$ go test ./round_trip_test.go
--- FAIL: TestConfigRoundTrip (0.00s)
--- FAIL: TestConfigRoundTrip/config_1 (0.00s)
round_trip_test.go:32: failed to round-trip:
{"ociVersion":"1.0.0","platform":{"os":"linux","arch":"amd64"},"process":{"consoleSize":{"height":0,"width":0},"user":{"uid":1,"gid":1},"args":["sh"],"cwd":"/"},"root":{"path":"rootfs"}}
FAIL
FAIL command-line-arguments 0.003s
By using a pointer for this optional struct property. Background on
this in [1].
[1]: golang/go#11939
Signed-off-by: W. Trevor King <wking@tremily.us>
0 commit comments