Skip to content

Commit

Permalink
chore: Update logging level for copy completion time
Browse files Browse the repository at this point in the history
  • Loading branch information
DenisPalnitsky committed Aug 17, 2024
1 parent c3703f4 commit 1a2ba2f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions packages/k8s/src/hooks/run-script-step.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,6 @@ import { execPodStep, copyToPod } from '../k8s'
import { writeEntryPointScript } from '../k8s/utils'
import { JOB_CONTAINER_NAME } from './constants'

process.on('unhandledRejection', (reason, promise) => {
core.error(`Unhandled Rejection at: ${promise}, reason: ${reason}`)
// Handle the rejection or log more details here
})

export async function runScriptStep(
args: RunScriptStepArgs,
state,
Expand Down
2 changes: 1 addition & 1 deletion packages/k8s/src/k8s/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ export async function copyToPod(

const endTime = Date.now()
const elapsedTime = endTime - startTime
core.info(`Copy completed in ${elapsedTime} milliseconds`)
core.debug(`Copy completed in ${elapsedTime} milliseconds`)
}

export async function execPodStep(
Expand Down

0 comments on commit 1a2ba2f

Please sign in to comment.