Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
stefreak committed Sep 1, 2023
1 parent f7a4ce9 commit 1edcd73
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion core/src/graph/nodes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*/

import { Task, ValidResultType } from "../tasks/base"
import { GardenError, GraphError, InternalError, toGardenError } from "../exceptions"
import { GraphError, InternalError, toGardenError } from "../exceptions"
import { GraphResult, GraphResultFromTask, GraphResults } from "./results"
import type { GraphSolver } from "./solver"
import { ValuesType } from "utility-types"
Expand Down
6 changes: 4 additions & 2 deletions core/src/plugins/kubernetes/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -918,7 +918,9 @@ function attachWebsocketKeepalive(ws: WebSocket): WebSocket {
ws.emit(
"error",
new KubernetesError({
message: `Lost connection to the Kubernetes WebSocket API (Timed out after ${WEBSOCKET_PING_TIMEOUT / 1000}s)`
message: `Lost connection to the Kubernetes WebSocket API (Timed out after ${
WEBSOCKET_PING_TIMEOUT / 1000
}s)`,
})
)
ws.terminate()
Expand Down Expand Up @@ -1003,7 +1005,7 @@ async function getContextConfig(log: Log, ctx: PluginContext, provider: Kubernet
kc.setCurrentContext(context)
} catch (err) {
throw new KubernetesError({
message: `Could not parse kubeconfig: ${err}`
message: `Could not parse kubeconfig: ${err}`,
})
}

Expand Down
2 changes: 1 addition & 1 deletion core/src/plugins/kubernetes/container/deployment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -584,7 +584,7 @@ function configureHealthCheck(container: V1Container, spec: ContainerDeploySpec,
container.livenessProbe.tcpSocket = container.readinessProbe.tcpSocket
} else {
throw new ConfigurationError({
message: "Must specify type of health check when configuring health check."
message: "Must specify type of health check when configuring health check.",
})
}
}
Expand Down

0 comments on commit 1edcd73

Please sign in to comment.