Skip to content

Commit

Permalink
fix: fix bug of create standalone redis (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
chideat authored Aug 26, 2024
1 parent a10f436 commit 0b22420
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/redis/failover/redisfailover.go
Original file line number Diff line number Diff line change
Expand Up @@ -817,7 +817,7 @@ func (s *RedisFailover) IsResourceFullfilled(ctx context.Context) (bool, error)
}
}

{
if !s.IsStandalone() {
// check sentinel
newSen := failoverbuilder.NewFailoverSentinel(s)
oldSen, err := s.client.GetRedisSentinel(ctx, s.GetNamespace(), s.GetName())
Expand Down

0 comments on commit 0b22420

Please sign in to comment.