Skip to content

Commit

Permalink
try test release for another module
Browse files Browse the repository at this point in the history
  • Loading branch information
skudasov committed Sep 13, 2024
1 parent f036b99 commit f0d7570
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions scripts/test-package-release.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@ def add_release_file(package_dir, tag):

# Write example data to the release file
with open(filename, 'w') as f:
f.write(f"Initial release of {package_dir} test runner\n\n")
f.write(f"Test release of {package_dir} module\n\n")
f.write("Features added:\n")
f.write("- One\n")
f.write("- Two\n")
f.write("- Test feature #1\n")
f.write("- Test feature #2\n")

# Add and commit the new file
run_command(f"git add {filename}")
Expand Down
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() error {
func (lgc *Config) Validate(a int) 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(); err != nil {
if err := cfg.Validate(0); err != nil {
return nil, err
}
for _, s := range cfg.Schedule {
Expand Down

0 comments on commit f0d7570

Please sign in to comment.