Skip to content

Commit 12595b2

Browse files
committed
make format
1 parent bb39934 commit 12595b2

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

cmd/dmsgweb/commands/dmsgweb.go

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -282,13 +282,13 @@ dmsgweb conf file detected: ` + dwcfg
282282
}
283283

284284
if len(resolveDmsgAddr) == 0 && len(webPort) == 1 {
285-
if len(rawTCP) > 0 && rawTCP[0] {
286-
dlog.Debug("proxyTCPConn(-1)")
287-
proxyTCPConn(-1)
288-
} else {
289-
dlog.Debug("proxyHTTPConn(-1)")
290-
proxyHTTPConn(-1)
291-
}
285+
if len(rawTCP) > 0 && rawTCP[0] {
286+
dlog.Debug("proxyTCPConn(-1)")
287+
proxyTCPConn(-1)
288+
} else {
289+
dlog.Debug("proxyHTTPConn(-1)")
290+
proxyHTTPConn(-1)
291+
}
292292
} else {
293293
for i := range resolveDmsgAddr {
294294
wg.Add(1)

cmd/dmsgweb/commands/root.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ func scriptExecBoolSlice(s, envfile string) []bool {
180180
}
181181
}
182182
if len(result) == 0 {
183-
result = append(result, false)
183+
result = append(result, false)
184184
}
185185
return result
186186
}

0 commit comments

Comments
 (0)