isDesktopFeatureActive checks whether a Docker Desktop feature flag is enabled. Returns false silently when Desktop is not running or unreachable.
(ctx context.Context, feature string)
| 31 | // isDesktopFeatureActive checks whether a Docker Desktop feature flag is |
| 32 | // enabled. Returns false silently when Desktop is not running or unreachable. |
| 33 | func (s *composeService) isDesktopFeatureActive(ctx context.Context, feature string) bool { |
| 34 | return desktop.IsFeatureActive(ctx, s.apiClient(), feature) |
| 35 | } |
no test coverage detected