Skip to content

Commit b96e2c1

Browse files
committed
rename to distinct between push and pull subscribe, always subscribe to pull when push
1 parent fb1eddc commit b96e2c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/sync/coordinator.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ const (
2727
OperationPull Operation = iota
2828
OperationPush
2929
OperationPullSubscribe
30-
OperationSubscribe
3130
OperationPushSubscribe
3231
OperationLocalSync
3332
)
@@ -225,6 +224,7 @@ func (c *Coordinator) resolveAuth(operation string) (*auth.ResolveResult, error)
225224
// executePullSubscribe runs pull sync with subscription for new versions
226225
func (c *Coordinator) executePullSubscribe() error {
227226
fmt.Println("📡 PULL Subscribe mode enabled - will watch for new versions...")
227+
fmt.Println("📡 Subscribe mode enabled - will watch for new versions...")
228228
fmt.Println(" Press Ctrl+C to stop watching...")
229229

230230
// Resolve authentication for subscription

0 commit comments

Comments
 (0)