Skip to content

Commit 2cd69be

Browse files
authored
Fix error in log message Update NodeUpdates.js (#2119)
This pull request fixes an issue in the log message where the text "get count pd updating os packages" was incorrectly used. The intended message is "get count of updating OS packages". This error occurred in two methods: getCurrentOsVersion and getCountOfUpdatableOSUpdate.
1 parent 76d7fc1 commit 2cd69be

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

launcher/src/backend/NodeUpdates.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ export class NodeUpdates {
140140
const res = await this.nodeConnection.sshService.exec(`lsb_release -d | awk '{print $3}'`);
141141
return res.stdout;
142142
} catch (err) {
143-
log.error("Error occurred during get count pd updating os packages:\n", err);
143+
log.error("Error occurred during get count of updating OS packages:\n", err);
144144
}
145145
}
146146

@@ -154,7 +154,7 @@ export class NodeUpdates {
154154

155155
return res.stdout;
156156
} catch (err) {
157-
log.error("Error occurred during get count pd updating os packages:\n", err);
157+
log.error("Error occurred during get count of updating OS packages:\n", err);
158158
}
159159
}
160160

0 commit comments

Comments
 (0)