Merge pull request #42 from sidhujag/master
'make lint' fix - update.go fix
This commit is contained in:
commit
5e1ea91042
2 changed files with 2 additions and 2 deletions
|
@ -50,7 +50,7 @@ jobs:
|
||||||
name: default
|
name: default
|
||||||
steps:
|
steps:
|
||||||
- *fast-checkout
|
- *fast-checkout
|
||||||
- run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.30.0
|
- run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.32.2
|
||||||
- run: make lint
|
- run: make lint
|
||||||
check-license:
|
check-license:
|
||||||
executor:
|
executor:
|
||||||
|
|
|
@ -43,7 +43,7 @@ func logPipe(ctx context.Context, pipe io.ReadCloser, identifier string) error {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
message := strings.Replace(str, "\n", "", -1)
|
message := strings.ReplaceAll(str, "\n", "")
|
||||||
messages := strings.SplitAfterN(message, " ", 2)
|
messages := strings.SplitAfterN(message, " ", 2)
|
||||||
|
|
||||||
// Trim the timestamp from the log if it exists
|
// Trim the timestamp from the log if it exists
|
||||||
|
|
Loading…
Reference in a new issue