Commit 2f25f49 1 parent bba73cd commit 2f25f49 Copy full SHA for 2f25f49
File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ function installKubectl(version) {
53
53
}
54
54
function checkClusterContext ( ) {
55
55
if ( ! process . env [ "KUBECONFIG" ] ) {
56
- throw new Error ( 'Cluster context not set. Use k8ssetcontext action to set cluster context') ;
56
+ core . warning ( 'KUBECONFIG env is not explicitly set. Ensure cluster context is set by using k8s-set- context / aks-set-context action. ') ;
57
57
}
58
58
}
59
59
function run ( ) {
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ async function installKubectl(version: string) {
42
42
43
43
function checkClusterContext ( ) {
44
44
if ( ! process . env [ "KUBECONFIG" ] ) {
45
- throw new Error ( 'Cluster context not set. Use k8ssetcontext action to set cluster context') ;
45
+ core . warning ( 'KUBECONFIG env is not explicitly set. Ensure cluster context is set by using k8s-set- context / aks-set-context action. ') ;
46
46
}
47
47
}
48
48
You can’t perform that action at this time.
0 commit comments