mirror of
https://github.com/EchoVault/SugarDB.git
synced 2025-10-28 18:12:37 +08:00
Deleted debug fmt.Println statements
This commit is contained in:
@@ -113,15 +113,6 @@ func (server *EchoVault) setValues(ctx context.Context, entries map[string]inter
|
||||
}
|
||||
|
||||
for key, value := range entries {
|
||||
|
||||
// TODO: Delete this
|
||||
if strings.Contains(key, "source") {
|
||||
fmt.Println("SET SOURCE: ", value)
|
||||
}
|
||||
if strings.Contains(key, "destination") {
|
||||
fmt.Println("SET DESTINATION: ", value)
|
||||
}
|
||||
|
||||
expireAt := time.Time{}
|
||||
if _, ok := server.store[key]; ok {
|
||||
expireAt = server.store[key].ExpireAt
|
||||
|
||||
@@ -350,10 +350,6 @@ func handleLMove(params internal.HandlerFuncParams) ([]byte, error) {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
checkLists := params.GetValues(params.Context, []string{source, destination})
|
||||
fmt.Println("NEW SOURCE LIST: ", checkLists[source])
|
||||
fmt.Println("NEW DESTINATION LIST: ", checkLists[destination])
|
||||
|
||||
return []byte(constants.OkResponse), nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user