commit | a7275c28585f2c5cac73b570a9f4a8935bcf3dbf | [log] [tgz] |
---|---|---|
author | Daniele Rossi <daniele.rossi@hcl.com> | Mon Nov 25 12:48:58 2019 +0100 |
committer | Daniele Rossi <daniele.rossi@hcl.com> | Tue Nov 26 17:47:59 2019 +0100 |
tree | decdbdd522bf110bf8c463eb88762a898abad74b | |
parent | 1273234dd88202f4031526f65e5271ca89281cc0 [diff] |
VOL-2280 Bugs in Callbacks handling in db/Model/root.go Change-Id: I418fc914bb6ed1cc6fe1f49bd73b5af775476ffb
diff --git a/db/model/root.go b/db/model/root.go index 8ac1311..bca2d4f 100644 --- a/db/model/root.go +++ b/db/model/root.go
@@ -128,7 +128,7 @@ } func (r *root) hasCallbacks() bool { - return len(r.Callbacks) == 0 + return len(r.Callbacks) > 0 } // getCallbacks returns the available callbacks