Skip to content

Commit c3682ff

Browse files
author
Lucienne Seidler
committed
comments added to Chronos, healthHelpers, and utilities
1 parent e7be0ee commit c3682ff

File tree

3 files changed

+176
-124
lines changed

3 files changed

+176
-124
lines changed

chronos_npm_package/chronos.js

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -149,11 +149,7 @@ class Chronos {
149149

150150
ServerWrapper(server, proto, methods) {
151151
/**
152-
* Wraps the gRPC server object to automatically write logs to user configed DB
153-
*
154-
* If the provided database is MongoDB, connection will be made to the Mongodb Atlas
155-
*
156-
* If the provided database is PostgreSQL, connection will be made to PostgreSQL client
152+
* Wraps the gRPC server object to automatically write logs to provided DB
157153
* @param {*} server
158154
* @param {*} proto
159155
* @param {*} methods
@@ -171,11 +167,7 @@ class Chronos {
171167

172168
ClientWrapper(client, service) {
173169
/**
174-
* Wraps the gRPC client to automatically write logs to user configed DB
175-
*
176-
* If the provided database is MongoDB, connection will be made to the Mongodb Atlas
177-
*
178-
* If the provided database is PostgreSQL, connection will be made to PostgreSQL client
170+
* Wraps the gRPC client to automatically write logs to provided DB
179171
*
180172
* @param {*} client
181173
* @param {*} service

chronos_npm_package/controllers/healthHelpers.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ healthHelpers.collectHealthData = () => {
107107
/** obtains CPU temperature metrics and creates and pushes object with
108108
* metric name and value to the healthDataCollection array
109109
*/
110+
110111
si.cpuTemperature()
111112
.then(data => {
112113
const siMethodName = 'cpuTemperature';

0 commit comments

Comments
 (0)