Skip to content

Commit

Permalink
change reddis connection logging logic
Browse files Browse the repository at this point in the history
  • Loading branch information
algo7 committed Oct 11, 2023
1 parent a89043e commit 4ce32b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions container_provisioner/database/redis.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package database
import (
"context"
"encoding/json"
"fmt"
"log"
"os"
"time"

Expand Down Expand Up @@ -63,7 +63,7 @@ func RedisConnectionCheck() {
resp, err := rdb.Ping(ctx).Result()
utils.ErrorHandler(err)

fmt.Println("Redis connection established", resp)
log.Println("Redis connection established", resp)
}

// getRedisHostAddress checks if custom redis host address is supplied, if not, returns the default address
Expand Down

0 comments on commit 4ce32b1

Please sign in to comment.