views: remove outdated ogLive checks

Remove checks for a running ogLive based on an empty client setup
reponse. The check is dead code as the partition setup is cached in
the database so the payload always constains the information.
master
Alejandro Sirgo Rica 2025-02-14 11:43:05 +01:00
parent 35269b31a7
commit c6adc0f29b
1 changed files with 0 additions and 8 deletions

View File

@ -774,10 +774,6 @@ def action_setup_show():
setup_data = get_client_setup(base_client)
if not setup_data:
flash(_('Partition information is not available. Boot client in ogLive mode to obtain it'), category='error')
return redirect(url_for('commands'))
selected_disk = 1
common_disk_data = get_common_disk_data(ips)
@ -1185,10 +1181,6 @@ def action_software():
server = get_server_from_clients(ips)
r = server.get('/client/setup', payload={'client': list(ips)})
if not r.json()['partitions']:
flash(_('Software inventory is not available. Boot client in ogLive mode to obtain it'), category='error')
return redirect(url_for('commands'))
for part in r.json()['partitions']:
part_id = part['partition']
if part_id == 0: