Merge "Allow unversioned_until: "current"
."
This commit is contained in:
commit
59bed87517
1 changed files with 8 additions and 0 deletions
|
@ -162,6 +162,14 @@ func shouldUseVersionScript(stub *stubDecorator) (bool, error) {
|
|||
return true, nil
|
||||
}
|
||||
|
||||
if stub.properties.Unversioned_until == "current" {
|
||||
if stub.properties.ApiLevel == "current" {
|
||||
return true, nil
|
||||
} else {
|
||||
return false, nil
|
||||
}
|
||||
}
|
||||
|
||||
if stub.properties.ApiLevel == "current" {
|
||||
return true, nil
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue