commit | 7f72f0c46c572c0497727965e111ae66fe933bbc | [log] [tgz] |
---|---|---|
author | Rohan Agrawal <rohan.agrawal01@infosys.com> | Tue Jan 14 12:05:51 2020 +0000 |
committer | Scott Baker <smbaker@gmail.com> | Mon Feb 24 13:35:54 2020 -0800 |
tree | 7874ec55c4e419036b57e16c54432318a8d714b5 | |
parent | 2ebbf220fe40b152e37df02d38fc4b1dcd2c9136 [diff] [blame] |
[VOL-2356]core log_level command line argument should take log level names not int value Change-Id: Ifc9ca5aa6d2b40e068e0ecad845a788edad0a3a1
diff --git a/vendor/github.com/opencord/voltha-lib-go/v3/pkg/db/backend.go b/vendor/github.com/opencord/voltha-lib-go/v3/pkg/db/backend.go index 9bb49ac..96829c5 100644 --- a/vendor/github.com/opencord/voltha-lib-go/v3/pkg/db/backend.go +++ b/vendor/github.com/opencord/voltha-lib-go/v3/pkg/db/backend.go
@@ -103,7 +103,7 @@ logger.Debug("update-liveness-channel-reason-change") b.liveness <- alive b.lastLivenessTime = time.Now() - } else if time.Now().Sub(b.lastLivenessTime) > b.LivenessChannelInterval { + } else if time.Since(b.lastLivenessTime) > b.LivenessChannelInterval { logger.Debug("update-liveness-channel-reason-interval") b.liveness <- alive b.lastLivenessTime = time.Now()