summaryrefslogtreecommitdiffhomepage
path: root/runsc/config/config_test.go
diff options
context:
space:
mode:
authorAyush Ranjan <ayushranjan@google.com>2021-11-08 00:37:24 -0800
committergVisor bot <gvisor-bot@google.com>2021-11-08 00:39:46 -0800
commit4622e17bccc7c40a2698e8314d29bbde87090cec (patch)
treeebf9e83a9c9275bfb90367f301902072d8526028 /runsc/config/config_test.go
parentce4f4283badb6b07baf9f8e6d99e7a5fd15c92db (diff)
Simplify {Un}MarshalUnsafeSlice method signatures.
Earlier this function was returning (int, error) much like the Copy{In/Out} methods. The returned error was always nil. The returned int was never used. Instead make it returned the shifted buffer which is more useful. Updates #6450 PiperOrigin-RevId: 408268327
Diffstat (limited to 'runsc/config/config_test.go')
0 files changed, 0 insertions, 0 deletions