Skip to content

Commit a2a9a88

Browse files
committed
CHORE: Linting fix
1 parent 0c8cf5e commit a2a9a88

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

services/status-check.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ const makeRequest = (url, options, render) => {
6969

7070

7171
if (url.startsWith('ping://')) {
72-
const ipAddress = url.substring(7); // Remove "ping://" prefix
72+
const ipAddress = url.substring(7); // Remove "ping" prefix
7373
const pinger = new pingFunction(ipAddress, (status, timeTaken, targetIp) => {
7474
let results = {};
7575
if (status === 'good') {

src/components/Widgets/GlNetworkInterfaces.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export default {
6868
networks.push({
6969
name: network.interface_name,
7070
speed: network.speed,
71-
online: network.speed ? 'up' : 'down', //v3 to v4 is_up no longer seems to be a default response field
71+
online: network.speed ? 'up' : 'down', // v3 to v4 is_up no longer seems to be a default response field
7272
currentDownload: network.bytes_recv,
7373
currentUpload: network.bytes_sent,
7474
totalDownload: network.bytes_recv_gauge,

0 commit comments

Comments
 (0)