Skip to content

Commit

Permalink
remove wasp breaking change
Browse files Browse the repository at this point in the history
  • Loading branch information
skudasov committed Sep 13, 2024
1 parent e67ce01 commit 0716a24
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
5 changes: 0 additions & 5 deletions wasp/.changeset/v1.999.1-test-release.md

This file was deleted.

4 changes: 2 additions & 2 deletions wasp/wasp.go
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ type Config struct {
nodeID string
}

func (lgc *Config) Validate(a int) error {
func (lgc *Config) Validate() error {
if lgc.CallTimeout == 0 {
lgc.CallTimeout = DefaultCallTimeout
}
Expand Down Expand Up @@ -250,7 +250,7 @@ func NewGenerator(cfg *Config) (*Generator, error) {
if cfg == nil {
return nil, ErrNoCfg
}
if err := cfg.Validate(0); err != nil {
if err := cfg.Validate(); err != nil {
return nil, err
}
for _, s := range cfg.Schedule {
Expand Down

0 comments on commit 0716a24

Please sign in to comment.