Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: Shubham Gupta <[email protected]>
  • Loading branch information
shubham-cmyk committed Nov 10, 2023
1 parent d2be1dc commit 3a8710f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions k8sutils/status.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ func UpdateRedisClusterStatus(cr *redisv1beta2.RedisCluster, status status.Redis
cr.Status.ReadyFollowerReplicas = readyFollowerReplicas

client, err := GenerateK8sDynamicClient(GenerateK8sConfig)
if err != nil {
logger.Error(err, "Failed to generate k8s dynamic client")
return err
}

Check warning on line 33 in k8sutils/status.go

View check run for this annotation

Codecov / codecov/patch

k8sutils/status.go#L30-L33

Added lines #L30 - L33 were not covered by tests
gvr := schema.GroupVersionResource{
Group: "redis.redis.opstreelabs.in",
Version: "v1beta2",
Expand Down

0 comments on commit 3a8710f

Please sign in to comment.