Skip to content

Commit

Permalink
Please linter
Browse files Browse the repository at this point in the history
  • Loading branch information
consideRatio committed Feb 3, 2024
1 parent fcc253b commit 304ecb0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
3 changes: 1 addition & 2 deletions src/kubectl.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import * as core from "@actions/core"
import * as exec from "@actions/exec"

import * as log from "./log"
Expand Down Expand Up @@ -41,7 +40,7 @@ export async function getRestartedPods(
ownerType = "deploy"
ownerName = ownerName.split("-").slice(0, -1).join("-")
}
let wl = input.normWorkload(`${ownerType}/${ownerName}`)
const wl = input.normWorkload(`${ownerType}/${ownerName}`)
if (wls.includes(wl)) {
restartedPods.push(podName)
}
Expand Down
8 changes: 4 additions & 4 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ import * as timeout from "./timeout"
export async function run(): Promise<void> {
try {
// parse input
let inWls = core.getInput("workloads")
let inNs = core.getInput("namespace")
let inTimeout = input.parseIntegerInput("timeout", -1)
let inMax = input.parseIntegerInput("max-restarts", -1)
const inWls = core.getInput("workloads")
const inNs = core.getInput("namespace")
const inTimeout = input.parseIntegerInput("timeout", -1)
const inMax = input.parseIntegerInput("max-restarts", -1)

// print settings
log.log("Awaiting workloads", {level: 1})
Expand Down

0 comments on commit 304ecb0

Please sign in to comment.