Skip to content

Commit 371c7c1

Browse files
committed
cmd/run: Style fixes
This makes it easier to spot the beginning of functions with long lists of parameters and return values. containers#1415
1 parent cfd8ec5 commit 371c7c1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/cmd/run.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ func runCommand(container string,
166166
preserveFDs uint,
167167
command []string,
168168
emitEscapeSequence, fallbackToBash, pedantic bool) error {
169+
169170
if !pedantic {
170171
if image == "" {
171172
panic("image not specified")
@@ -300,6 +301,7 @@ func runCommandWithFallbacks(container string,
300301
preserveFDs uint,
301302
command []string,
302303
emitEscapeSequence, fallbackToBash bool) error {
304+
303305
logrus.Debug("Checking if 'podman exec' supports disabling the detach keys")
304306

305307
var detachKeysSupported bool
@@ -485,6 +487,7 @@ func constructExecArgs(container, preserveFDs string,
485487
fallbackToBash bool,
486488
ttyNeeded bool,
487489
workDir string) []string {
490+
488491
logLevelString := podman.LogLevel.String()
489492

490493
execArgs := []string{

0 commit comments

Comments
 (0)