threefoldtecharchive / rmb_archive

reliable message bus
0 stars 0 forks source link

Build is broken with latest v #18

Closed LeeSmet closed 3 years ago

LeeSmet commented 3 years ago

Using latest V to build messagebus eventually leads to:

/root/.vmodules/threefoldtech/rmb/server/server.v:190:28: error: cannot assign to `update.epoch`: expected `int`, not `i64`
  188 |     // remove one retry
  189 |     update.retry -= 1
  190 |     update.epoch = time.now().unix_time()
      |                               ~~~~~~~~~~~
  191 | 
  192 |     value := json.encode(update)
maxux commented 3 years ago

@xmonader already had this issue and and fixed it AFAIK

LeeSmet commented 3 years ago

This was encountered running the build script in a docker (slighlty modified since I use an ubuntu) just now :shrug:

maxux commented 3 years ago

Fixed via https://github.com/threefoldtech/rmb/commit/edeaabfad0494914222df0f10284a978b4a0dcdc