Skip to content

Commit

Permalink
resolve conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
petar-cvit committed Jan 3, 2025
1 parent aa4e154 commit 2a80544
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cyclops-ctrl/cmd/main/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ func main() {
}),
Cache: ctrlCache.Options{
DefaultNamespaces: map[string]ctrlCache.Config{
getWatchNamespace("WATCH_NAMESPACE"): {},
getWatchNamespace(): {},
},
},
})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ import { mapResponseError } from "../../../utils/api/errors";
import { CheckboxChangeEvent } from "antd/es/checkbox";
import { Workload } from "../../../utils/k8s/workload";
import { useResourceListActions } from "./ResourceListActionsContext";
import DefaultResource from "../DefaultResource";

interface Props {
loadResources: boolean;
Expand Down Expand Up @@ -332,6 +333,7 @@ const ResourceList = ({
break;
case "ClusterRole":
resourceDetails = <ClusterRole name={resource.name} />;
break;
default:
resourceDetails = (
<DefaultResource
Expand All @@ -343,7 +345,6 @@ const ResourceList = ({
onResourceDelete={onResourceDelete}
/>
);
break;
}

let deletedWarning = <p />;
Expand Down

0 comments on commit 2a80544

Please sign in to comment.