mirror of
https://github.com/kemko/nomad.git
synced 2026-01-05 18:05:42 +03:00
variables: handler should catch errors before conflicts (#14591)
This commit is contained in:
@@ -169,6 +169,9 @@ func (sv *Variables) makeVariablesApplyResponse(
|
||||
}
|
||||
return &out, nil
|
||||
}
|
||||
if eResp.IsError() {
|
||||
return &out, eResp.Error
|
||||
}
|
||||
|
||||
// At this point, the response is necessarily a conflict.
|
||||
// Prime output from the encrypted responses metadata
|
||||
|
||||
Reference in New Issue
Block a user