Skip to content

Commit

Permalink
delete unnecessary warning messages
Browse files Browse the repository at this point in the history
Signed-off-by: xcaspar <[email protected]>
  • Loading branch information
xcaspar committed Dec 18, 2024
1 parent ce366eb commit c09b5ea
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.PHONY: build clean

GO_ENV=CGO_ENABLED=1
GO_ENV=CGO_ENABLED=0
GO_MODULE=GO111MODULE=on
GO=env $(GO_ENV) $(GO_MODULE) go

Expand Down
3 changes: 0 additions & 3 deletions exec/application.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@
package exec

import (
"context"
"fmt"
"github.com/chaosblade-io/chaosblade-spec-go/log"
"path"

"github.com/chaosblade-io/chaosblade-spec-go/spec"
Expand All @@ -39,7 +37,6 @@ func getJvmModels() []spec.ExpModelCommandSpec {
modelCommandSpecs := make([]spec.ExpModelCommandSpec, 0)
models, err := util.ParseSpecsToModel(jvmSpecFile, nil)
if err != nil {
log.Warnf(context.Background(), "parse java spec failed, so skip it, %s", err)
return modelCommandSpecs
}
for idx := range models.Models {
Expand Down

0 comments on commit c09b5ea

Please sign in to comment.