summary refs log tree commit diff stats
path: root/svc/leveldb.go
diff options
context:
space:
mode:
authorBen Morrison <ben@gbmor.dev>2019-06-19 19:39:08 -0400
committerBen Morrison <ben@gbmor.dev>2019-06-19 19:39:08 -0400
commit37142b5d78d2eace9fef79d20793b0d42965dae5 (patch)
tree3c0c93fc5daba9916cf00d9dfce1007927694f8f /svc/leveldb.go
parent75e9f55daa3946ae3b51cbcf3204d5131e420a84 (diff)
downloadgetwtxt-37142b5d78d2eace9fef79d20793b0d42965dae5.tar.gz
updated internal functionality for registry v0.4.0 v0.4.4
Diffstat (limited to 'svc/leveldb.go')
-rw-r--r--svc/leveldb.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/svc/leveldb.go b/svc/leveldb.go
index 91d7ca9..3a1fccf 100644
--- a/svc/leveldb.go
+++ b/svc/leveldb.go
@@ -23,7 +23,7 @@ func (lvl *dbLevel) push() error {
 		dbBasket.Put([]byte(k+"*URL"), []byte(v.URL))
 		dbBasket.Put([]byte(k+"*IP"), []byte(v.IP.String()))
 		dbBasket.Put([]byte(k+"*Date"), []byte(v.Date))
-		dbBasket.Put([]byte(k+"*RLen"), []byte(v.RLen))
+		dbBasket.Put([]byte(k+"*LastModified"), []byte(v.LastModified))
 
 		for i, e := range v.Status {
 			rfc := i.Format(time.RFC3339)
@@ -68,8 +68,8 @@ func (lvl *dbLevel) pull() {
 			data.Nick = val
 		case "URL":
 			data.URL = val
-		case "RLen":
-			data.RLen = val
+		case "LastModified":
+			data.LastModified = val
 		case "Date":
 			data.Date = val
 		case "Status":