(ctx context.Context, client *guestagentclient.GuestAgentClient)
| 842 | } |
| 843 | |
| 844 | func isGuestAgentSocketAccessible(ctx context.Context, client *guestagentclient.GuestAgentClient) bool { |
| 845 | _, err := client.Info(ctx) |
| 846 | return err == nil |
| 847 | } |
| 848 | |
| 849 | // getClient returns the current guest agent client under the clientMu lock, |
| 850 | // so callers observe a consistent (non-mid-transition) snapshot. |
no test coverage detected