linting manifest should not lint pipeline config

This commit is contained in:
Brad Rydzewski 2019-09-02 08:58:51 -07:00
parent a4a63fe917
commit ad8ad9816f

View File

@ -57,7 +57,7 @@ func checkPipelines(manifest *yaml.Manifest, trusted bool) error {
return err
}
if (v.Kind == "pipeline" || v.Kind == "") && (v.Type == "" || v.Type == "docker") {
err = checkPipeline(v, trusted)
err = checkPlatform(v.Platform)
if err != nil {
return err
}