09dedc4092f2a878cfba561fea871853d53cac16

Author
Ayman Bagabas <ayman.bagabas@gmail.com>
Committer
Ayman Bagabas <ayman.bagabas@gmail.com>
Date

Message

fix: remove extra metrics label

Fixes: b0eebaa36b8a ("fix: panic on ssh lfs transfer")

Diff

 1diff --git a/server/ssh/cmd/git.go b/server/ssh/cmd/git.go
 2index 37a90344075a78f839a3eb3fd3193c4e98b27f14..56831f272ff724096b01dd2a128c3b8470efef0f 100644
 3--- a/server/ssh/cmd/git.go
 4+++ b/server/ssh/cmd/git.go
 5@@ -74,7 +74,7 @@ var (
 6 		Subsystem: "git",
 7 		Name:      "upload_archive_seconds_total",
 8 		Help:      "The total time spent on git-upload-archive requests",
 9-	}, []string{"repo", "operation"})
10+	}, []string{"repo"})
11 
12 	lfsAuthenticateSeconds = promauto.NewCounterVec(prometheus.CounterOpts{
13 		Namespace: "soft_serve",