mirror of
https://github.com/ditkrg/k8s-set-context.git
synced 2026-01-22 22:06:49 +00:00
trying a fix for flow of logs
This commit is contained in:
parent
72f489a6ec
commit
dd342fb40d
@ -83,7 +83,7 @@ function getArcKubeconfig() {
|
||||
const kubeconfigPath = path.join(runnerTempDirectory, `kubeconfig_${Date.now()}`);
|
||||
let azPath = yield io.which("az", true);
|
||||
let out = fs.openSync('./out.log', 'a');
|
||||
let err = fs.openSync('./out.log', 'a');
|
||||
let err = fs.openSync('./err.log', 'a');
|
||||
if (method == 'service-account') {
|
||||
let saToken = core.getInput('token');
|
||||
if (!saToken) {
|
||||
|
||||
@ -79,7 +79,7 @@ export async function getArcKubeconfig(): Promise<string> {
|
||||
const kubeconfigPath = path.join(runnerTempDirectory, `kubeconfig_${Date.now()}`);
|
||||
let azPath = await io.which("az", true);
|
||||
let out = fs.openSync('./out.log', 'a');
|
||||
let err = fs.openSync('./out.log', 'a');
|
||||
let err = fs.openSync('./err.log', 'a');
|
||||
if (method == 'service-account'){
|
||||
let saToken = core.getInput('token');
|
||||
if(!saToken){
|
||||
|
||||
Loading…
Reference in New Issue
Block a user