Skip to content

Commit df0f7ce

Browse files
committed
Merge branch 'development' into alex_filemodel
2 parents 1d64bed + 679605d commit df0f7ce

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

dev-setup.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Create venv if not already present
22
if [ ! -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
55
fi
66

77
# Activate the desired venv

nodescraper/interfaces/connectionmanager.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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

nodescraper/plugins/inband/nvme/nvme_collector.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
###############################################################################
2626
import os
2727
import re
28-
import traceback
2928

3029
from 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"

0 commit comments

Comments
 (0)