Require explicit manifest schemas
This commit is contained in:
@@ -112,12 +112,6 @@ func validateAnalyzeStageState(stageName string, version int, records map[string
|
||||
}
|
||||
return nil
|
||||
}
|
||||
if version == 0 {
|
||||
if records != nil {
|
||||
return fmt.Errorf("legacy analyze stage without a state version cannot contain analyze_artifacts")
|
||||
}
|
||||
return nil
|
||||
}
|
||||
return ValidateAnalyzeArtifactCollection(version, records)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user