summaryrefslogtreecommitdiff
path: root/doc/ext
diff options
context:
space:
mode:
authorMatt Riedemann <mriedem.os@gmail.com>2017-07-05 15:15:50 -0400
committerMatt Riedemann <mriedem.os@gmail.com>2017-07-05 15:15:50 -0400
commit9269d35ea876fa54edb9b332e927ee9d73c40f50 (patch)
tree958691c4235634e816e4cf60a549b3ffb6422bcc /doc/ext
parent635e29433cdadd3d1b664ea2354f049125c393fe (diff)
downloadnova-9269d35ea876fa54edb9b332e927ee9d73c40f50.tar.gz
Fix error message when support matrix entry is missing a driver
This was noticed in change If10cffd0dc4c9879f6754ce39bee5fae1d04f474 which was missing the powervm driver target for the extend-volume entry. Before this change, the error message was: 'libvirt-vz-ct' missing in '[operation.extend-volume]' section This was really confusing because that driver is in the change. What was missing was powervm, but because the error message is using the wrong key that was not showing up. Change-Id: I2e7ea49d5ba42cc633796222af47c1d4cd59f96b Closes-Bug: #1702542
Diffstat (limited to 'doc/ext')
-rw-r--r--doc/ext/support_matrix.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/ext/support_matrix.py b/doc/ext/support_matrix.py
index 880ce4dc28..f99ff78cd5 100644
--- a/doc/ext/support_matrix.py
+++ b/doc/ext/support_matrix.py
@@ -269,7 +269,7 @@ class SupportMatrixDirective(rst.Directive):
for key in targets:
if key not in feature.implementations:
raise Exception("'%s' missing in '[%s]' section" %
- (target.key, section))
+ (key, section))
features.append(feature)