From e9cd4bac94d621bc3734b1adcdda13e97cc8cbd1 Mon Sep 17 00:00:00 2001 From: Sergey Nikitin Date: Wed, 26 Oct 2016 15:53:52 +0300 Subject: [PATCH] TrivialFix: Fixed typo in 'MemoryPageSizeInvalid' exception name in docstrings Change-Id: Iabc552671de82179b5de6164c6ca1b781f4a5ca6 --- nova/virt/hardware.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nova/virt/hardware.py b/nova/virt/hardware.py index 654f08bd82..7609928445 100644 --- a/nova/virt/hardware.py +++ b/nova/virt/hardware.py @@ -947,7 +947,7 @@ def _numa_get_pagesize_constraints(flavor, image_meta): :param flavor: a Flavor object to read extra specs from :param image_meta: nova.objects.ImageMeta object instance - :raises: MemoryPagesSizeInvalid if flavor extra spec or image + :raises: MemoryPageSizeInvalid if flavor extra spec or image metadata provides an invalid hugepage value :raises: MemoryPageSizeForbidden if flavor extra spec request conflicts with image metadata request @@ -1220,7 +1220,7 @@ def numa_get_constraints(flavor, image_meta): nodes is less than 1 or not an integer :raises: exception.ImageNUMATopologyForbidden if an attempt is made to override flavor settings with image properties - :raises: exception.MemoryPagesSizeInvalid if flavor extra spec or + :raises: exception.MemoryPageSizeInvalid if flavor extra spec or image metadata provides an invalid hugepage value :raises: exception.MemoryPageSizeForbidden if flavor extra spec request conflicts with image metadata request -- 2.39.5