Amend device configs when renaming.

This commit is contained in:
grossmj committed 2014-05-19 13:14:57 -06:00
1 parent 7182e59892
commit babdfd5086
5 files changed
+76 -6

No files matched your search

+1 -1
View File
@@ -348,7 +348,7 @@ class VPCS(IModule):
except OSError as e:
raise VPCSError("Could not save the configuration from {} to {}: {}".format(request["script_file"], config_path, e))
elif not os.path.isfile(config_path):
raise VPCSError("Startup-config {} could not be found on this server".format(config_path))
raise VPCSError("Startup-config {} could not be found on this server".format(request["script_file"]))
except VPCSError as e:
self.send_custom_error(str(e))
return