fix
This commit is contained in:
parent
edc81a3abb
commit
ec4658ba67
@ -9,7 +9,7 @@ import * as jsyaml from 'js-yaml';
|
|||||||
import * as util from 'util';
|
import * as util from 'util';
|
||||||
import { getArcKubeconfig } from './arc-login';
|
import { getArcKubeconfig } from './arc-login';
|
||||||
|
|
||||||
function getKubeconfig(): string {
|
export function getKubeconfig(): string {
|
||||||
const method = core.getInput('method', { required: true });
|
const method = core.getInput('method', { required: true });
|
||||||
if (method == 'kubeconfig') {
|
if (method == 'kubeconfig') {
|
||||||
const kubeconfig = core.getInput('kubeconfig', { required: true });
|
const kubeconfig = core.getInput('kubeconfig', { required: true });
|
||||||
@ -102,7 +102,7 @@ export async function setContext(kubeconfigPath: string) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
async function run() {
|
export async function run() {
|
||||||
try {
|
try {
|
||||||
let kubeconfig = '';
|
let kubeconfig = '';
|
||||||
const cluster_type = core.getInput('cluster-type', { required: true });
|
const cluster_type = core.getInput('cluster-type', { required: true });
|
||||||
|
Loading…
x
Reference in New Issue
Block a user