File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 11# Create venv if not already present
22if [ ! -d " venv" ]; then
3- python3 -m pip install virtualenv
4- python3 -m virtualenv venv
3+ python3 -m pip install venv
4+ python3 -m venv venv
55fi
66
77# Activate the desired venv
Original file line number Diff line number Diff line change @@ -140,3 +140,4 @@ def connect(self) -> TaskResult:
140140 def disconnect (self ):
141141 """disconnect connection (Optional)"""
142142 self .connection = None
143+ self .result .status = ExecutionStatus .UNSET
Original file line number Diff line number Diff line change 2525###############################################################################
2626import os
2727import re
28- import traceback
2928
3029from pydantic import ValidationError
3130
@@ -112,7 +111,7 @@ def collect_data(
112111 self ._log_event (
113112 category = EventCategory .SW_DRIVER ,
114113 description = "Validation error while building NvmeDataModel" ,
115- data = {"errors" : traceback . format_tb ( exp .__traceback__ )},
114+ data = {"errors" : exp .errors ( include_url = False )},
116115 priority = EventPriority .ERROR ,
117116 )
118117 self .result .message = "NVMe data invalid format"
You can’t perform that action at this time.
0 commit comments