In older versions of Gnocchi, the creator could be null. It's unlikely now as
all auth helper returns a string as creator, but it's still possible in theory.
This patch uses the NULL string as the creator is it's None (so NULL in SQL).
Change-Id: Id1faa16512b995fa2cd24ca4bed7912934cb5aad
Closes-Bug: #1684246
(cherry picked from commit 75e420673159fcf4a383f130e1652243fccc2b75)
Reviewed: https:/ /review. openstack. org/458744 /git.openstack. org/cgit/ openstack/ gnocchi/ commit/ ?id=89c9170731d e528015c10a3426 ea53f188c99705
Committed: https:/
Submitter: Jenkins
Branch: stable/3.1
commit 89c9170731de528 015c10a3426ea53 f188c99705
Author: Julien Danjou <email address hidden>
Date: Thu Apr 20 08:45:14 2017 +0200
Use NULL as creator in ResourceUUID conversion
In older versions of Gnocchi, the creator could be null. It's unlikely now as
all auth helper returns a string as creator, but it's still possible in theory.
This patch uses the NULL string as the creator is it's None (so NULL in SQL).
Change-Id: Id1faa16512b995 fa2cd24ca4bed79 12934cb5aad 4a383f130e16522 43fccc2b75)
Closes-Bug: #1684246
(cherry picked from commit 75e420673159fcf