diff options
| -rw-r--r-- | nova/volume/iscsi.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nova/volume/iscsi.py b/nova/volume/iscsi.py index 7d714aeab..69b14faf1 100644 --- a/nova/volume/iscsi.py +++ b/nova/volume/iscsi.py @@ -116,8 +116,8 @@ class TgtAdm(TargetAdmin): f.close() self._execute('tgt-admin', '--execute', - '--conf %s' % volume_path, - '--update %s' % vol_id, run_as_root=True) + '--conf', volume_path, + '--update', vol_id, run_as_root=True) except Exception as ex: LOG.exception(ex) |
