diff options
author | Jim Hahn <jrh3@att.com> | 2020-05-22 09:06:58 -0400 |
---|---|---|
committer | Jim Hahn <jrh3@att.com> | 2020-05-22 13:35:50 -0400 |
commit | 7e6f32d775b8455e5c8f0c244ef0fb8324ce2b7a (patch) | |
tree | d48162ab700e67edf1e4ebe82a08b394f54abbe2 /.gitreview | |
parent | 0c544a84cd51f49ad3de56a2f1f47f4eb0af6c8e (diff) |
Use "outcome" to indicate pending record
Mariadb is setting the "endtime" to the current time by default,
so rather than indicate a pending record using a null endtime, just
modified the code set "outcome" to "Started" to indicate a pending record.
Also added code to ensure the "outcome" is never null, as that causes
a DB error.
Also addressed a comment from a previous review to log a warning message
if more than one matching record is found in operations history.
Issue-ID: POLICY-2581
Change-Id: I6bf67551cef46808a79cc15afeb0abbfc1b6d945
Signed-off-by: Jim Hahn <jrh3@att.com>
Diffstat (limited to '.gitreview')
0 files changed, 0 insertions, 0 deletions