From 18ce7158eb65ba494e2c28fa128f220ea6b8820f Mon Sep 17 00:00:00 2001 From: Scott Baker Date: Mon, 6 Jan 2014 16:59:36 -0800 Subject: [PATCH] if account name is longer than 20 characters then onevapi throws a strange error --- planetstack/hpc_observer/hpclib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/planetstack/hpc_observer/hpclib.py b/planetstack/hpc_observer/hpclib.py index f6e875b..92e87fe 100644 --- a/planetstack/hpc_observer/hpclib.py +++ b/planetstack/hpc_observer/hpclib.py @@ -63,7 +63,7 @@ class HpcLibrary: for c in x: if (c in (string.lowercase + string.digits)): y = y + c - return y + return y[:20] def extract_slice_info(self, service): """ Produce a dict that describes the slices for the CMI -- 2.47.0