File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -375,10 +375,10 @@ Try this:
375375
376376For more options, run 'func deploy --help'` , fn .ErrInvalidKubeconfig , kubeconfigPath )
377377 }
378-
378+
379379 if errors .Is (err , fn .ErrClusterNotAccessible ) {
380380 errMsg := err .Error ()
381-
381+
382382 // Case 1: Empty/no cluster configuration in kubeconfig
383383 if strings .Contains (errMsg , "no configuration has been provided" ) ||
384384 strings .Contains (errMsg , "invalid configuration" ) {
@@ -394,7 +394,7 @@ Try this:
394394
395395For more options, run 'func deploy --help'` , fn .ErrClusterNotAccessible )
396396 }
397-
397+
398398 // Case 2: Cluster is down, network issues, auth errors, etc
399399 return fmt .Errorf (`%w
400400
@@ -407,7 +407,7 @@ Try this:
407407
408408For more options, run 'func deploy --help'` , fn .ErrClusterNotAccessible )
409409 }
410-
410+
411411 return err
412412 }
413413
You can’t perform that action at this time.
0 commit comments