projects
/
cascardo
/
ovs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ovn-controller: Tolerate missing 'chassis_id'.
[cascardo/ovs.git]
/
ovn
/
controller
/
chassis.c
diff --git
a/ovn/controller/chassis.c
b/ovn/controller/chassis.c
index
511d5c9
..
2dfce19
100644
(file)
--- a/
ovn/controller/chassis.c
+++ b/
ovn/controller/chassis.c
@@
-104,6
+104,10
@@
chassis_run(struct controller_ctx *ctx, const char *chassis_id)
bool
chassis_cleanup(struct controller_ctx *ctx, const char *chassis_id)
{
+ if (!chassis_id) {
+ return true;
+ }
+
/* Delete Chassis row. */
const struct sbrec_chassis *chassis_rec
= get_chassis_by_name(ctx->ovnsb_idl, chassis_id);