fix: Finish rename refactors suggested in PR

Signed-off-by: Carlos Esteban Lopez <lcarlosesteb@vmware.com>
This commit is contained in:
Carlos Esteban Lopez
2023-09-05 10:13:20 -05:00
parent eb9fdf1187
commit 8127cc5fa4
2 changed files with 5 additions and 5 deletions
@@ -23,11 +23,11 @@ import { FitAddon } from 'xterm-addon-fit';
import { PodExecTerminalAttachAddon } from './PodExecTerminalAttachAddon';
/**
* Props drilled down to the K8sTerminal component
* Props drilled down to the PodExecTerminal component
*
* @public
*/
export interface K8sTerminalProps {
export interface PodExecTerminalProps {
clusterName: string;
containerName: string;
podName: string;
@@ -42,7 +42,7 @@ const hasSocketProtocol = (url: string | URL) =>
*
* @public
*/
export const PodExecTerminal = (props: K8sTerminalProps) => {
export const PodExecTerminal = (props: PodExecTerminalProps) => {
const { containerName, podNamespace, podName } = props;
const [baseUrl, setBaseUrl] = useState(window.location.host);
@@ -28,7 +28,7 @@ import OpenInBrowserIcon from '@material-ui/icons/OpenInBrowser';
import React, { useState } from 'react';
import { useIsPodExecTerminalSupported } from '../../hooks';
import { PodExecTerminal, K8sTerminalProps } from './PodExecTerminal';
import { PodExecTerminal, PodExecTerminalProps } from './PodExecTerminal';
const useStyles = makeStyles((theme: Theme) =>
createStyles({
@@ -48,7 +48,7 @@ const useStyles = makeStyles((theme: Theme) =>
*
* @public
*/
export const PodExecTerminalDialog = (props: K8sTerminalProps) => {
export const PodExecTerminalDialog = (props: PodExecTerminalProps) => {
const classes = useStyles();
const { clusterName, containerName, podName } = props;