Skip to content

Commit

Permalink
fix wrongs
Browse files Browse the repository at this point in the history
  • Loading branch information
takara9 committed Oct 11, 2024
1 parent 7265511 commit 030e3b6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
5 changes: 1 addition & 4 deletions bmc-log-collector/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,7 @@ test: clean
staticcheck ./...
test -z "$$(custom-checker -restrictpkg.packages=html/template ./... 2>&1 | tee /dev/stderr)"
go vet ./...
##ginkgo -v --race -p .
ginkgo -v --race -p --focus-file main_test.go
##ginkgo -v --race -p --focus-file log-pointer_test.go

ginkgo -v --race -p .

.PHONY: clean
clean:
Expand Down
1 change: 0 additions & 1 deletion bmc-log-collector/log-collector.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ type selCollector struct {

func (c *selCollector) collectSystemEventLog(ctx context.Context, m Machine, logWriter bmcLogWriter) {
const layout = "2006-01-02T15:04:05Z07:00"
//var createUnixtime int64
var currentLastId int
filePath := path.Join(c.ptrDir, m.Serial)

Expand Down

0 comments on commit 030e3b6

Please sign in to comment.