Skip to content

Commit 490805e

Browse files
committed
snapshot
1 parent d22f913 commit 490805e

File tree

3 files changed

+0
-7
lines changed

3 files changed

+0
-7
lines changed

app/toolbox.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -220,10 +220,6 @@ func (t *Toolbox) GetDiagnosticCommands() ([]DiagnosticCommand, error) {
220220
return nil, fmt.Errorf("binary for command '%s' not found in toolbox nix store", binName)
221221
}
222222

223-
if c.Sudo {
224-
cmdStr = "sudo " + cmdStr
225-
}
226-
227223
timeout := 5 * time.Second
228224
if c.TimeoutSeconds > 0 {
229225
timeout = time.Duration(c.TimeoutSeconds) * time.Second

playbook/60-second-linux.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,3 @@ commands:
3838
description: Top processes snapshot
3939
- command: dmesg
4040
description: Kernel ring buffer
41-
sudo: true
42-

playbook/playbook.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,5 @@ type PlaybookConfig struct {
1313
type PlaybookCommand struct {
1414
Command string `yaml:"command"`
1515
Description string `yaml:"description"`
16-
Sudo bool `yaml:"sudo,omitempty"`
1716
TimeoutSeconds int `yaml:"timeout_seconds,omitempty"`
1817
}

0 commit comments

Comments
 (0)