Commit 85c205e9 authored by Renato Figueiro Maia's avatar Renato Figueiro Maia

[OPENBUS-1538] Implementar a nova proposta do SDK OpenBus em Lua.

- Pequenas correções e melhorias do código.


git-svn-id: https://subversion.tecgraf.puc-rio.br/engdist/openbus/sdk/lua/branches/openbus_v2_proto@128539 ae0415b3-e90b-0410-900d-d0be9363c56b
parent f78d9b32
......@@ -172,7 +172,7 @@ local function unmarshalCredential(self, contexts)
callers[1], callers[2] = {id="<unknown>",entity=delegate},callers[1]
end
credential.bus = self.busid
credential.login = login.id
credential.login = loginId
return credential, { busid = self.busid, callers = callers }
end
end
......@@ -245,7 +245,7 @@ function Interceptor:__init()
idltypes[name] = types:lookup_id(repid)
end
if self.legacy then
idltypes.LegacyCredential = types:lookup_id(LegacyCredential)
idltypes.LegacyCredential = assert(types:lookup_id(LegacyCredential))
end
self.types = idltypes
self:resetCaches()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment