8000 stage0: pass debug flag to app entrypoints by euank · Pull Request #3469 · rkt/rkt · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Feb 24, 2020. It is now read-only.

stage0: pass debug flag to app entrypoints #3469

Merged
merged 1 commit into from 8000
Dec 12, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions stage0/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,7 @@ func AddApp(cfg AddConfig) error {
}

args := []string{
fmt.Sprintf("--debug=%t", cfg.Debug),
fmt.Sprintf("--uuid=%s", cfg.UUID),
fmt.Sprintf("--app=%s", appName),
}
Expand Down Expand Up @@ -359,6 +360,7 @@ func RmApp(cfg RmConfig) error {
// Otherwise, there's not much we can do about it except unmounting/removing
// the file system.
args := []string{
fmt.Sprintf("--debug=%t", cfg.Debug),
fmt.Sprintf("--app=%s", cfg.AppName),
}

Expand Down Expand Up @@ -471,6 +473,7 @@ func StartApp(cfg StartConfig) error {
}

args := []string{
fmt.Sprintf("--debug=%t", cfg.Debug),
fmt.Sprintf("--app=%s", cfg.AppName),
}

Expand Down Expand Up @@ -524,6 +527,7 @@ func StopApp(cfg StopConfig) error {
}

args := []string{
fmt.Sprintf("--debug=%t", cfg.Debug),
fmt.Sprintf("--app=%s", cfg.AppName),
}

Expand Down
0