From e120fdb97e3af76198eadc8a44e6feb732b4dd83 Mon Sep 17 00:00:00 2001 From: Steve Moyer Date: Thu, 26 May 2022 13:39:13 -0400 Subject: refactor: use namespace instead of application of applicationName --- entity/dag/example_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'entity') diff --git a/entity/dag/example_test.go b/entity/dag/example_test.go index 7290b4d4..106e359c 100644 --- a/entity/dag/example_test.go +++ b/entity/dag/example_test.go @@ -336,15 +336,15 @@ func Read(repo repository.ClockedRepo, id entity.Id) (*ProjectConfig, error) { } func Example_entity() { - const gitBugApplicationName = "git-bug" + const gitBugNamespace = "git-bug" // Note: this example ignore errors for readability // Note: variable names get a little confusing as we are simulating both side in the same function // Let's start by defining two git repository and connecting them as remote repoRenePath, _ := os.MkdirTemp("", "") repoIsaacPath, _ := os.MkdirTemp("", "") - repoRene, _ := repository.InitGoGitRepo(repoRenePath, gitBugApplicationName) - repoIsaac, _ := repository.InitGoGitRepo(repoIsaacPath, gitBugApplicationName) + repoRene, _ := repository.InitGoGitRepo(repoRenePath, gitBugNamespace) + repoIsaac, _ := repository.InitGoGitRepo(repoIsaacPath, gitBugNamespace) _ = repoRene.AddRemote("origin", repoIsaacPath) _ = repoIsaac.AddRemote("origin", repoRenePath) -- cgit