Skip to content

Commit a355850

Browse files
committed
CONSOLE-3769: Remove setPluginStore to follow up on CONSOLE-4840
1 parent e29fdd8 commit a355850

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

frontend/packages/console-dynamic-plugin-sdk/CHANGELOG-core.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ table in [Console dynamic plugins README](./README.md).
1313
## 4.22.0-prerelease.1 - TBD
1414

1515
- **Breaking**: Removed ability to load plugins that use `LegacyConsolePluginManifest` format. ([CONSOLE-3769], [#15778])
16+
- **Breaking**: Removed `setPluginStore` function in `k8s-utils.ts`. ([CONSOLE-3769], [#15778])
1617
- **Type breaking**: Removed `ExtensionDeclaration` from `types.ts`. Plugins should use `Extension` type instead. ([CONSOLE-3769], [#15778])
1718
- **Type breaking**: Changed the default type parameters of `Extension<any>` to `Extension<string, AnyObject>`. ([CONSOLE-3769], [#15778])
1819

frontend/packages/console-dynamic-plugin-sdk/src/utils/k8s/k8s-utils.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -171,12 +171,6 @@ export const k8sWatch = (
171171
return new WSFactory(path, wsOptionsUpdated as WSOptions);
172172
};
173173

174-
/** @deprecated - This function is now a noop and will be removed in future releases. */
175-
export const setPluginStore = (store: any) => {
176-
// eslint-disable-next-line no-void
177-
void store;
178-
};
179-
180174
const modelKey = (model: K8sModel): string => {
181175
// TODO: Use `referenceForModel` even for known API objects
182176
return model.crd ? getReferenceForModel(model) : model.kind;

0 commit comments

Comments
 (0)