libnetwork/resolvconf: format code with gofumpt
Formatting the code with https://github.com/mvdan/gofumpt Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
801cd50744
commit
0b75c02276
1 changed files with 1 additions and 1 deletions
|
@ -137,7 +137,7 @@ func getLines(input []byte, commentMarker []byte) [][]byte {
|
|||
lines := bytes.Split(input, []byte("\n"))
|
||||
var output [][]byte
|
||||
for _, currentLine := range lines {
|
||||
var commentIndex = bytes.Index(currentLine, commentMarker)
|
||||
commentIndex := bytes.Index(currentLine, commentMarker)
|
||||
if commentIndex == -1 {
|
||||
output = append(output, currentLine)
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue