File tree Expand file tree Collapse file tree 1 file changed +1
-12
lines changed
Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,6 @@ def _print_dependency_status() -> None:
2727 info ("Dependencies:" )
2828 deps = {
2929 "kubectl" : _check_command ("kubectl" ),
30- "kubeadm" : _check_command ("kubeadm" ),
3130 "spread" : _check_command ("spread" ),
3231 }
3332 print_dict (deps )
@@ -43,10 +42,6 @@ def _print_cluster_context() -> None:
4342 try :
4443 context = get_context ()
4544 info (f"Active Cluster: { context } " )
46- except ClusterError :
47- info ("Active Cluster: error checking" )
48-
49- try :
5045 nodes_output = get_nodes ()
5146 if nodes_output :
5247 lines = nodes_output .strip ().split ("\n " )
@@ -55,7 +50,7 @@ def _print_cluster_context() -> None:
5550 if line :
5651 info (f" { line } " )
5752 except ClusterError :
58- pass
53+ info ( "Active Cluster: error checking" )
5954
6055
6156def _verify_cluster_health (timeout : int ) -> None :
@@ -86,12 +81,6 @@ def _check_command(cmd: str) -> str:
8681 capture_output = True ,
8782 check = False ,
8883 )
89- elif cmd == "kubeadm" :
90- result = run (
91- [cmd , "version" ],
92- capture_output = True ,
93- check = False ,
94- )
9584 else :
9685 result = run (
9786 [cmd , "--version" ],
You can’t perform that action at this time.
0 commit comments