You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
else if strings.HasPrefix(key, "DestinationGroup_") {
destGroupName := strings.TrimPrefix(key, "DestinationGroup_")
if destGroupName == "" {
return fmt.Errorf("Empty Destination Group name %v", key)
}
// Close any client intances targeting this Destination group
} else if strings.HasPrefix(key, "Subscription_") {
name := strings.TrimPrefix(key, "Subscription_")
if name == "" {
return fmt.Errorf("Empty Subscription_ name %v", key)
}
csub, ok := ClientSubscriptionNameMap[name]
if ok {
The text was updated successfully, but these errors were encountered:
In "https://github.com/sonic-net/sonic-buildimage/tree/master/src/sonic-yang-models/yang-models/sonic-telemetry_client.yang" prefix expect as "Subscription|DestinationGroup"
But the in "https://github.com/sonic-net/sonic-gnmi/blob/master/dialout/dialout_client/dialout_client.go", it expect as "DestinationGroup_" and "Subscription_" as mentioned below. Is there any new dialout client?
else if strings.HasPrefix(key, "DestinationGroup_") {
destGroupName := strings.TrimPrefix(key, "DestinationGroup_")
if destGroupName == "" {
return fmt.Errorf("Empty Destination Group name %v", key)
}
// Close any client intances targeting this Destination group
} else if strings.HasPrefix(key, "Subscription_") {
name := strings.TrimPrefix(key, "Subscription_")
if name == "" {
return fmt.Errorf("Empty Subscription_ name %v", key)
}
csub, ok := ClientSubscriptionNameMap[name]
if ok {
The text was updated successfully, but these errors were encountered: