move rmrendpoint into xapptweaks pkg
Change-Id: I5cc422a930040469980ebcf2627be6c6184a78df
Signed-off-by: Juha Hyttinen <juha.hyttinen@nokia.com>
diff --git a/pkg/control/transaction.go b/pkg/control/transaction.go
index 1298925..d922d18 100644
--- a/pkg/control/transaction.go
+++ b/pkg/control/transaction.go
@@ -126,7 +126,7 @@
//
//-----------------------------------------------------------------------------
type TransactionXappKey struct {
- RmrEndpoint
+ xapptweaks.RmrEndpoint
Xid string // xapp xid in req
}
@@ -151,7 +151,7 @@
return "transxapp(" + t.Transaction.String() + "/" + transkey + "/" + strconv.FormatUint(uint64(t.SubId), 10) + ")"
}
-func (t *TransactionXapp) GetEndpoint() *RmrEndpoint {
+func (t *TransactionXapp) GetEndpoint() *xapptweaks.RmrEndpoint {
t.mutex.Lock()
defer t.mutex.Unlock()
if t.XappKey != nil {