Made some tweaks to comments to remove non-useful agent noise.
This commit is contained in:
parent
4b9d6ce6d8
commit
3403bf2c15
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).
|
// 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),
|
// 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.
|
// The _pendingAction is short-lived per user action only.
|
||||||
property string _pendingAction: ""
|
property string _pendingAction: ""
|
||||||
|
|
||||||
|
|
@ -53,7 +53,6 @@ PluginComponent {
|
||||||
Proc.runCommand("tailscale-toggle", cmd, (out, c) => {
|
Proc.runCommand("tailscale-toggle", cmd, (out, c) => {
|
||||||
if (c !== 0) {
|
if (c !== 0) {
|
||||||
const action = root.isConnected ? "disconnect" : "connect";
|
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)));
|
ToastService.showError("tailscalectl", I18n.tr(TailscaleLib.formatError(action)));
|
||||||
}
|
}
|
||||||
root._pendingAction = "";
|
root._pendingAction = "";
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue