Fix dumpCreate function
The dumpCreate function was erroneously calling the bmcDumpDelete
function instead of the bmcDumpCreate function. This commit corrects the
issue.
Signed-off-by: Justin Thaler <thalerj@us.ibm.com>
Change-Id: I7fc97ba574f9c44afdb2bd4bbf7b9c4f74ebc34e
diff --git a/thalerj/openbmctool.py b/thalerj/openbmctool.py
index 63c4a3f..512ef7f 100755
--- a/thalerj/openbmctool.py
+++ b/thalerj/openbmctool.py
@@ -1559,7 +1559,7 @@
if (args.dumpType=="SystemDump"):
dumpResp=systemDumpCreate(host,args,session)
elif(args.dumpType=="bmc"):
- dumpResp=bmcDumpDelete(host,args,session)
+ dumpResp=bmcDumpCreate(host,args,session)
return dumpResp