mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Upgrade js-yaml to 4.X (#3623)
This commit is contained in:
1 parent
fcb3010033
commit
5998b4ca84
17 files changed
+90
-57
No files matched your search
@@ -21,7 +21,7 @@
|
||||
|
||||
import "./pod-details-affinities.scss";
|
||||
import React from "react";
|
||||
import jsYaml from "js-yaml";
|
||||
import yaml from "js-yaml";
|
||||
import { DrawerParamToggler, DrawerItem } from "../drawer";
|
||||
import type { Pod, Deployment, DaemonSet, StatefulSet, ReplicaSet, Job } from "../../../common/k8s-api/endpoints";
|
||||
import MonacoEditor from "react-monaco-editor";
|
||||
@@ -50,7 +50,7 @@ export class PodDetailsAffinities extends React.Component<Props> {
|
||||
className={cssNames("MonacoEditor")}
|
||||
theme={ThemeStore.getInstance().activeTheme.monacoTheme}
|
||||
language="yaml"
|
||||
value={jsYaml.dump(affinities)}
|
||||
value={yaml.dump(affinities)}
|
||||
/>
|
||||
</div>
|
||||
</DrawerParamToggler>
|
||||
|
||||
Reference in new issue
Block a user