Skip to content

Commit a3caefb

Browse files
authored
Use a consistent prefix for checks failure_reasons (#1913)
Since all of the other checks use `checks::*`.
1 parent b2c9f8c commit a3caefb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/checks.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ function checks::ensure_supported_stack() {
1919
2020
Upgrade to a newer stack to continue using this buildpack.
2121
EOF
22-
build_data::set_string "failure_reason" "stack::eol"
22+
build_data::set_string "failure_reason" "checks::stack::eol"
2323
build_data::set_string "failure_detail" "${stack}"
2424
exit 1
2525
;;
@@ -34,7 +34,7 @@ function checks::ensure_supported_stack() {
3434
https://devcenter.heroku.com/articles/managing-buildpacks#view-your-buildpacks
3535
https://devcenter.heroku.com/articles/managing-buildpacks#classic-buildpacks-references
3636
EOF
37-
build_data::set_string "failure_reason" "stack::unknown"
37+
build_data::set_string "failure_reason" "checks::stack::unknown"
3838
build_data::set_string "failure_detail" "${stack}"
3939
exit 1
4040
;;

0 commit comments

Comments
 (0)