From cf7f32e12ca118e51723a87afee05770ea12c066 Mon Sep 17 00:00:00 2001 From: Max Resnick Date: Tue, 9 Apr 2024 20:53:27 -0700 Subject: chore: logging/err cleanup --- internal/admin/model_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'internal/admin/model_test.go') diff --git a/internal/admin/model_test.go b/internal/admin/model_test.go index 85d6ed1..6f8531d 100644 --- a/internal/admin/model_test.go +++ b/internal/admin/model_test.go @@ -299,7 +299,7 @@ func TestRepoReconcile(t *testing.T) { }, } repoPath := filepath.Join(tempDir, fmt.Sprintf("%s.git", repo.Name)) - repo.ReconcileRepo(tempDir) + _ = repo.ReconcileRepo(tempDir) if _, err := os.Stat(repoPath); errors.Is(err, fs.ErrNotExist) { t.Fatal("expected repo to be created, but does not exist") } @@ -314,7 +314,7 @@ bare = true t.Fatal(err) } // re-reconcile - repo.ReconcileRepo(tempDir) + _ = repo.ReconcileRepo(tempDir) content, err := os.ReadFile(tempConfigFile) if err != nil { t.Fatal(err) -- cgit v1.2.3