Skip to content

Commit 7b68222

Browse files
committed
fix linting errors
Signed-off-by: RayyanSeliya <[email protected]>
1 parent 64728ec commit 7b68222

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

cmd/deploy.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -375,10 +375,10 @@ Try this:
375375
376376
For 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
395395
For 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
408408
For more options, run 'func deploy --help'`, fn.ErrClusterNotAccessible)
409409
}
410-
410+
411411
return err
412412
}
413413

0 commit comments

Comments
 (0)