File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -219,7 +219,9 @@ def run_kueuectl_list_localqueue(args: Namespace) -> str:
219219 command = 'kubectl kueue list localqueue -o json'
220220 if args .namespace != '' :
221221 command += f' --namespace { args .namespace } '
222- return_code , val = run_command_for_value (command , 'list localqueue' )
222+ return_code , val = run_command_for_value (
223+ command , 'list localqueue' , hide_error = True
224+ )
223225
224226 if return_code != 0 :
225227 xpk_print (f'Cluster info request returned ERROR { return_code } ' )
@@ -235,7 +237,9 @@ def run_kueuectl_list_clusterqueue() -> str:
235237 """
236238 command = 'kubectl kueue list clusterqueue -o json'
237239
238- return_code , val = run_command_for_value (command , 'list clusterqueue' )
240+ return_code , val = run_command_for_value (
241+ command , 'list clusterqueue' , hide_error = True
242+ )
239243
240244 if return_code != 0 :
241245 xpk_print (f'Cluster info request returned ERROR { return_code } ' )
You can’t perform that action at this time.
0 commit comments