Feat: refactor envbinding for adapt policy placement (#2731)

* Feat: refactor envbinding for adapt policy placement

* Fix: refactor envbinding logic

* Fix: fix some bug

* Fix: fix unit test

* Fix: fix unit test

* Fix: fix unit test

* Fix: fix unit test

* Fix: fix unit test ...

* Fix: fix unit test

Co-authored-by: zhuxiaobing <zhuxiaobing@lixiang.com>
This commit is contained in:
朱晓兵
2021-11-19 10:37:40 +08:00
committed by GitHub
parent b6a14e435b
commit ffd25a4cbf
15 changed files with 751 additions and 550 deletions

View File

@@ -59,7 +59,6 @@ var _ = Describe("Test application rest api", func() {
Expect(cmp.Diff(appBase.Description, req.Description)).Should(BeEmpty())
Expect(cmp.Diff(appBase.Namespace, req.Namespace)).Should(BeEmpty())
Expect(cmp.Diff(appBase.Labels["test"], req.Labels["test"])).Should(BeEmpty())
Expect(cmp.Diff(appBase.EnvBinding[0].Name, "dev-env")).Should(BeEmpty())
})
It("Test delete app", func() {