Made some tweaks to comments to remove non-useful agent noise.
This commit is contained in:
parent
14a8d0a4ca
commit
7f3a1c3acc
1 changed files with 1 additions and 2 deletions
|
|
@ -22,7 +22,7 @@ PluginComponent {
|
|||
|
||||
// Transient coordination for the defensive poll-act-poll toggle (exact behavior preserved).
|
||||
// We poll for on-the-ground truth (so we choose the correct "up"/"down" and don't lie to the user),
|
||||
// act, then poll again for verification. This is *not* long-term cached state (see AGENTS.md).
|
||||
// act, then poll again for verification. This is *not* long-term cached state.
|
||||
// The _pendingAction is short-lived per user action only.
|
||||
property string _pendingAction: ""
|
||||
|
||||
|
|
@ -53,7 +53,6 @@ PluginComponent {
|
|||
Proc.runCommand("tailscale-toggle", cmd, (out, c) => {
|
||||
if (c !== 0) {
|
||||
const action = root.isConnected ? "disconnect" : "connect";
|
||||
// Note: Proc callback provides no stderr (per chosen strategy); generic error only.
|
||||
ToastService.showError("tailscalectl", I18n.tr(TailscaleLib.formatError(action)));
|
||||
}
|
||||
root._pendingAction = "";
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue