소스 검색

Merge pull request #2 from Surye/Surye-patch-1

Fix typo in ActiveQuotaScan json annotations
drakkan 6 년 전
부모
커밋
e0a550b216
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      sftpd/sftpd.go

+ 1 - 1
sftpd/sftpd.go

@@ -41,7 +41,7 @@ type connectionTransfer struct {
 
 // ActiveQuotaScan username and start data for a quota scan
 type ActiveQuotaScan struct {
-	Username  string `json:"usernane"`
+	Username  string `json:"username"`
 	StartTime int64  `json:"start_time"`
 }