Smithx10 / nomad-driver-triton

HashiCorp Nomad Triton driver plugin
15 stars 6 forks source link

cannot use tc.tags and other build errors #20

Closed mariuspana closed 4 years ago

mariuspana commented 4 years ago

While trying to build I got the following errors/issues and not being familiar with any of the technologies not really sure where to look. I expect there may be some version / compatibility issues?

github.com/Smithx10/nomad-driver-triton/plugin
plugin/triton.go:316:4: cannot use tc.Tags (type map[string]string) as type map[string]interface {} in field value
plugin/triton.go:324:4: cannot use metadata (type map[string]string) as type map[string]interface {} in field value
plugin/triton.go:351:4: cannot use tc.Tags (type map[string]string) as type map[string]interface {} in field value
plugin/triton.go:352:4: cannot use metadata (type map[string]string) as type map[string]interface {} in field value

Here is the os/go version, maybe it is of help.


Linux sc-nomad-01 4.18.0-147.8.1.el8_1.x86_64 #1 SMP Thu Apr 9 13:49:54 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
[root@sc-nomad-01 nomad-driver-triton]# lsb_re^C
[root@sc-nomad-01 nomad-driver-triton]# cat /etc/redhat-release
CentOS Linux release 8.1.1911 (Core)
[root@sc-nomad-01 nomad-driver-triton]#```

Thanks!
Smithx10 commented 4 years ago

@mariuspana This hasn't been updated in awhile since my current company has decided to focus on something else atm. I'd imagine Triton-GO was updated to make metadata and tags map[string]interface{} and you will need to make those changes.

mariuspana commented 4 years ago

thanks, will update and get this to your repo if you wish