Do not fall back to legacy template if template selector returns nil (#7444)

This commit is contained in:
Sam Coe 2023-05-16 09:44:00 +12:00 committed by GitHub
parent 4af21f71c0
commit f77a3dcacb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -325,8 +325,6 @@ func createRun(opts *CreateOptions) (err error) {
if template != nil {
templateContent = string(template.Body())
} else {
templateContent = string(tpl.LegacyBody())
}
}