rabbit suggestions

This commit is contained in:
notCharles 2025-11-05 17:11:45 -05:00
parent de8f2cc0bb
commit 4483ccbdcd
2 changed files with 4 additions and 4 deletions

View File

@ -650,7 +650,7 @@ class EditNode extends EditRecord
try {
$response = $this->daemonSystemRepository->setNode($node)->getDiagnostics($logLines, $includeEndpoints, $includeLogs);
if (str_contains($response->body(), '404')) {
if ($response->status() === 404) {
Notification::make()
->title(trans('admin/node.diagnostics.404'))
->warning()
@ -724,7 +724,7 @@ class EditNode extends EditRecord
} catch (\Exception $e) {
Notification::make()
->title(trans('admin/node.actions.upload_failed'))
->title(trans('admin/node.diagnostics.upload_failed'))
->body($e->getMessage())
->danger()
->send();

View File

@ -123,12 +123,12 @@ return [
'include_endpoints' => 'Include Endpoints',
'include_endpoints_hint' => 'Including endpoints will show panel urls within the logs and NOT obscure them.',
'include_logs' => 'Include Logs',
'include_logs_hint' => 'Including logs will show recent wing logs and help track down possible issues.',
'include_logs_hint' => 'Including logs will show recent logs and help track down possible issues.',
'run_diagnostics' => 'Run Diagnostics',
'upload_to_pelican' => 'Upload Logs',
'logs_pulled' => 'Logs Pulled!',
'logs_uploaded' => 'Logs Uploaded',
'upload_failed' => 'Log Upload Failed',
'upload_failed' => 'Logs Upload Failed',
'view_logs' => 'View Logs',
'pull' => 'Pull',
'upload' => 'Upload',