From 2643911888f1c7d7f6b96cc7b50478fdda9260a7 Mon Sep 17 00:00:00 2001 From: "Florent Vennetier (OpenIO)" Date: Tue, 6 Aug 2019 18:39:08 +0200 Subject: [PATCH] container_hierarchy: fix error message --- oioswift/common/middleware/container_hierarchy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oioswift/common/middleware/container_hierarchy.py b/oioswift/common/middleware/container_hierarchy.py index a1c6bc5d..de38ba2a 100644 --- a/oioswift/common/middleware/container_hierarchy.py +++ b/oioswift/common/middleware/container_hierarchy.py @@ -396,7 +396,7 @@ def check_pipeline(self, conf): ch_index < pipeline.index('versioned_writes')): raise ValueError( 'Invalid pipeline %r: ' - '%s must be placed before versioned_writes' + '%s must be placed after versioned_writes' % (pipeline, MIDDLEWARE_NAME)) def key(self, account, container, mode, path=None):