weixin_39565777 2020-11-29 21:14
浏览 0

Move all EnableHA functions out of addmachine.go

Description of change

Instead of clumping them all together in state_test.go and addmachine.go, pull them out into their own file enableha.go and enableha_test.go. Should be more understandable when they are grouped together like that.

This simply moves the code, it makes no changes to the individual lines.

QA steps

Nothing externally visible should change. You can run just these tests with:


$ cd state
$ go test -check.v -check.f EnableHA

Documentation changes

None.

Bug reference

None.

该提问来源于开源项目:juju/juju

  • 写回答

6条回答 默认 最新

  • weixin_39565777 2020-11-29 21:14
    关注

    !!build!! failure was in an unrelated github.com/juju/juju/worker/raft/raftflag.TestPackage

    评论

报告相同问题?