Skip to content

Commit

Permalink
Renamed GetEnvironmentVariables to ContainerEnvironmentVariables.
Browse files Browse the repository at this point in the history
Signed-off-by: Yurii Vlasov <yuriy@vlasov.pro>
  • Loading branch information
vlasov-y committed Jan 7, 2025
1 parent ed991a3 commit 3ac20cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/components/common/Resource/Resource.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -578,7 +578,7 @@ export type EnvironmentVariable = {
isOutOfSync: boolean; // If cm/sec creation timestamp is newer that pod's start timestamp
};

export function GetEnvironmentVariables(props: EnvironmentVariablesProps) {
function ContainerEnvironmentVariables(props: EnvironmentVariablesProps) {
const { pod, container } = props;
const { t } = useTranslation();
const [copied, setCopied] = React.useState(false);
Expand Down Expand Up @@ -1395,7 +1395,7 @@ export function ContainerInfo(props: ContainerInfoProps) {
},
{
name: 'Environment',
value: <GetEnvironmentVariables pod={resource as KubePod} container={container} />,
value: <ContainerEnvironmentVariables pod={resource as KubePod} container={container} />,
valueCellProps: { sm: 12 as GridSize },
hide: _.isEmpty(container?.env) && _.isEmpty(container?.envFrom),
},
Expand Down

0 comments on commit 3ac20cb

Please sign in to comment.