Skip to content

Commit 9edae8c

Browse files
committed
errors: ignore -> to error: ignore
1 parent de087a3 commit 9edae8c

File tree

4 files changed

+31
-31
lines changed

4 files changed

+31
-31
lines changed

cmd/hub/bindata/bindata.go

+28-28
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cmd/hub/lifecycle/deploy.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -637,7 +637,7 @@ func fireHooks(currentHook, stackBaseDir, componentName string, componentHooks [
637637
if strings.Contains(err.Error(), "fork/exec : no such file or directory") {
638638
log.Printf("Error: file %s has not been found.", filePath)
639639
return stdout, stderr, err
640-
} else if hook.Errors == "ignore" {
640+
} else if hook.Error == "ignore" {
641641
log.Printf("Error ignored: %s", err.Error())
642642
continue
643643
}

cmd/hub/manifest/types.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ type Hook struct {
3939
File string `yaml:",omitempty"`
4040
Brief string `yaml:",omitempty"`
4141
Triggers []string `yaml:",omitempty"`
42-
Errors string `yaml:",omitempty"`
42+
Error string `yaml:",omitempty"`
4343
}
4444

4545
type ComponentRef struct {

meta/manifest.schema.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@
143143
"type": "string"
144144
}
145145
},
146-
"errors": {
146+
"error": {
147147
"type": "string"
148148
}
149149
}

0 commit comments

Comments
 (0)