Adopt ConfigKit for pipeline loading
This commit is contained in:
@@ -540,7 +540,7 @@ publish:
|
||||
`
|
||||
pipelinePath, sessionPath := writeConfigFiles(t, pipelineYAML, testSessionBaseYAML)
|
||||
_, err := Load(pipelinePath, sessionPath)
|
||||
if err == nil || !strings.Contains(err.Error(), "strict decode failed") || !strings.Contains(err.Error(), "field locks not found") {
|
||||
if err == nil || !strings.Contains(err.Error(), "decode.unknown_field") {
|
||||
t.Fatalf("Load() error = %v, want retired locks field rejected", err)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user