Remove debug logs

Signed-off-by: Yarden Shoham <git@yardenshoham.com>
pull/12167/head
Yarden Shoham 1 year ago
parent b91d7495e1
commit b0e18fdc41

@ -16,7 +16,6 @@ limitations under the License.
package cache
import (
"fmt"
"sync"
)
@ -60,13 +59,11 @@ func (c *ConcurrentMapCache[V]) Set(key string, value V) {
c.mu.Lock()
defer c.mu.Unlock()
c.items[key] = value
fmt.Println("set", key)
}
func (c *ConcurrentMapCache[V]) Get(key string) (V, bool) {
c.mu.RLock()
defer c.mu.RUnlock()
value, exists := c.items[key]
fmt.Println("get", key, "exists", exists)
return value, exists
}

Loading…
Cancel
Save