~edwargix/git.sr.ht

2e765636e5feea6c5f9dd5f2a600a9d84f72f691 — Drew DeVault 6 years ago 8e47e31
gitsrht-shell: don't ping database

Let it fail later. I'd rather fail late and work fast.
1 files changed, 0 insertions(+), 3 deletions(-)

M gitsrht-shell/main.go
M gitsrht-shell/main.go => gitsrht-shell/main.go +0 -3
@@ 147,9 147,6 @@ func main() {
	if err != nil {
		logger.Fatalf("Failed to open a database connection: %v", err)
	}
	if err := db.Ping(); err != nil {
		logger.Fatalf("Failed to open a database connection: %v", err)
	}

	// Note: when updating push access logic, also update scm.sr.ht/access.py
	var (