We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f8044a5 commit c9e7b07Copy full SHA for c9e7b07
CHANGELOG.md
@@ -1,5 +1,7 @@
1
### Added
2
3
+### Release v0.0.3
4
+- Fix: Fix checks for webhook in initMode
5
6
### Release v0.0.2
7
internal/app/app.go
@@ -137,8 +137,8 @@ func checks(cfg *config.Config) error {
137
return fmt.Errorf("%s", "Missing volume-dir or volume-dir-archive")
138
}
139
140
- if len(cfg.Webhook.Urls) < 1 {
141
- return fmt.Errorf("%s", "Missing webhook-url")
+ if len(cfg.Webhook.Urls) < 1 && !*cfg.InitMode {
+ return fmt.Errorf("%s", "Missing webhook-url if initMode disable")
142
143
144
if *cfg.InitMode && (len(cfg.VolumeDirsArchive) < 1) {
0 commit comments