We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0c707c5 + 147a0d6 commit ad32e9bCopy full SHA for ad32e9b
pkg/deployment/resources/deployment_health.go
@@ -178,6 +178,10 @@ dbloop:
178
179
// GetShardSyncStatus returns true if all shards are in sync
180
func (r *Resources) GetShardSyncStatus() bool {
181
+ if r.context.GetSpec().GetMode() != api.DeploymentModeCluster {
182
+ // Shard sync status is only applicable for clusters
183
+ return true
184
+ }
185
r.shardSync.mutex.Lock()
186
defer r.shardSync.mutex.Unlock()
187
return r.shardSync.allInSync
0 commit comments