From c6fe4430b76ceeecd6b0b609cca8e705921db0c4 Mon Sep 17 00:00:00 2001 From: Matthew Heon Date: Tue, 7 Nov 2017 13:46:30 -0500 Subject: Compile-tested implementation of SQL-backed state Signed-off-by: Matthew Heon --- libpod/errors.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libpod/errors.go') diff --git a/libpod/errors.go b/libpod/errors.go index 245445005..180ca51db 100644 --- a/libpod/errors.go +++ b/libpod/errors.go @@ -56,6 +56,10 @@ var ( // further operations can be performed on it ErrPodRemoved = errors.New("pod has already been removed") + // ErrDBClosed indicates that the connection to the state database has + // already been closed + ErrDBClosed = errors.New("database connection already closed") + // ErrNotImplemented indicates that the requested functionality is not // yet present ErrNotImplemented = errors.New("not yet implemented") -- cgit v1.2.3-54-g00ecf