CentaurusInfra / mizar

Mizar – Experimental, High Scale and High Performance Cloud Network https://mizar.readthedocs.io
https://mizar.readthedocs.io
GNU General Public License v2.0
111 stars 50 forks source link

Fixed the issue #573 to add v1.6.4 to goconvey in bootstrap.sh #576

Closed jshaofuturewei closed 2 years ago

jshaofuturewei commented 2 years ago

Please refer to the issue https://github.com/CentaurusInfra/mizar/issues/573

We don't have go installed at beginning. When we ran bootstrap.sh and got the following error.

build github.com/smartystreets/goconvey: cannot load embed: malformed module path "embed": missing dot in first path element

We added the goconvey version 1.6.4 and verify the change by the following steps

  1. Remove all the directory in the directory ~/go/pkg/mod
  2. Run bootstrap.sh and found
    go: finding github.com/smartystreets/goconvey v1.6.4
    go: downloading github.com/smartystreets/goconvey v1.6.4
  3. Check the directory ~/go/pkg/mod again and found that goconvey v1.6.4 has been added.
    ubuntu@ip-172-30-0-62:~/go/pkg/mod/github.com/smartystreets$ ls
    assertions@v0.0.0-20180927180507-b2de0cb4f26d  goconvey@v1.6.4