remove outdated comment

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton committed 2022-05-06 10:18:29 -04:00
1 parent 93d59d6dfe
commit 076ba7709e
1 file changed
-1
-1
View File
@@ -312,7 +312,6 @@ export interface DeleteResourceDescriptor extends ResourceDescriptor {
* @deprecated In the new extension API, don't expose `KubeApi`'s constructor * @deprecated In the new extension API, don't expose `KubeApi`'s constructor
*/ */
function legacyRegisterApi(api: KubeApi<any, any>): void { function legacyRegisterApi(api: KubeApi<any, any>): void {
// Try both just in case, because we might be in a testing environment
const di = getEnvironmentSpecificLegacyGlobalDiForExtensionApi(Environments.renderer); const di = getEnvironmentSpecificLegacyGlobalDiForExtensionApi(Environments.renderer);
if (di) { if (di) {