From 7ee0f7e14c3105be1ef9c8aee00a09b479303677 Mon Sep 17 00:00:00 2001 From: Valentin Rothberg Date: Wed, 22 Apr 2020 11:43:50 +0200 Subject: implement pod stats Implement pod stats for the local and remote client. Both code paths end up in infra/abi to allow for code share. Signed-off-by: Valentin Rothberg --- pkg/api/handlers/utils/errors.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'pkg/api/handlers/utils') diff --git a/pkg/api/handlers/utils/errors.go b/pkg/api/handlers/utils/errors.go index aafc64353..3253a9be3 100644 --- a/pkg/api/handlers/utils/errors.go +++ b/pkg/api/handlers/utils/errors.go @@ -14,6 +14,9 @@ var ( ErrLinkNotSupport = errors.New("Link is not supported") ) +// TODO: document the exported functions in this file and make them more +// generic (e.g., not tied to one ctr/pod). + // Error formats an API response to an error // // apiMessage and code must match the container API, and are sent to client -- cgit v1.2.3-54-g00ecf