X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=internal%2Fsdlgoredis%2Fsdlgoredis.go;h=574e7b0a601a9c9b8513a64c56de14fa8c947b84;hb=refs%2Ftags%2Fv0.5.2;hp=8e2a2ef2e12e265dfce2b6f17a3adab5cfacc9b1;hpb=f759492b4f02f1e9d66115a6b83deec519cb5df4;p=ric-plt%2Fsdlgo.git diff --git a/internal/sdlgoredis/sdlgoredis.go b/internal/sdlgoredis/sdlgoredis.go index 8e2a2ef..574e7b0 100644 --- a/internal/sdlgoredis/sdlgoredis.go +++ b/internal/sdlgoredis/sdlgoredis.go @@ -15,6 +15,11 @@ limitations under the License. */ +/* + * This source code is part of the near-RT RIC (RAN Intelligent Controller) + * platform project (RICP). + */ + package sdlgoredis import ( @@ -92,7 +97,7 @@ func checkIntResultAndError(result interface{}, err error) (bool, error) { if err != nil { return false, err } - if result.(int64) == int64(1) { + if result.(int) == int(1) { return true, nil } return false, nil