Webapp: Clarification of Worker Maintenance section #104229
@ -115,17 +115,20 @@
|
||||
|
||||
<section class="worker-maintenance">
|
||||
<h3 class="sub-title">Maintenance</h3>
|
||||
<p>{{ workerData.name }} is <span class="worker-status">{{ workerData.status }}</span>, which means
|
||||
<template v-if="workerData.status == 'offline'">can be safely removed.</template>
|
||||
<template v-else>removing it now can cause the Worker to log errors. It
|
||||
is adviced to shut down the Worker before removing it from the
|
||||
system.</template>
|
||||
</p>
|
||||
<p><button @click="deleteWorker">Remove {{ workerData.name }}</button></p>
|
||||
<p class="hint">
|
||||
When a Worker is removed from the system, any active task still assigned
|
||||
to it will be requeued. Restarting the Worker after removing it from the
|
||||
system will simply register it anew.
|
||||
<p>
|
||||
{{ workerData.name }} is
|
||||
<template v-if="workerData.status == 'offline'">
|
||||
<span class="worker-status">offline</span>, which means it can be safely removed.
|
||||
</template>
|
||||
<template v-else>
|
||||
<template v-if="workerData.status == 'error'">
|
||||
in <span class="worker-status">error</span>
|
||||
michael-2 marked this conversation as resolved
|
||||
</template>
|
||||
<template v-else>
|
||||
<span class="worker-status">{{ workerData.status }}</span>
|
||||
</template>, which means removing it now can cause it to log errors. It
|
||||
is advised to shut down the Worker before removing it from the system.
|
||||
</template>
|
||||
</p>
|
||||
</section>
|
||||
</template>
|
||||
|
Loading…
Reference in New Issue
Block a user
This would print "{name} is in error", but in #104227 it was suggested to show "{name} is in error state" in this case.
I kept going back and forth on including the word "state". I have updated this PR to include "{name} is in error state"