Skip to content

Commit b8fc0a0

Browse files
committed
feat: extend support in ProfileExplorer for finer-grain geo constraints
1 parent adcaa3a commit b8fc0a0

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

Diff for: plugins/plugin-codeflare/src/components/ProfileExplorer.tsx

+10-2
Original file line numberDiff line numberDiff line change
@@ -377,8 +377,16 @@ class ProfileCard extends React.PureComponent<ProfileCardProps, ProfileCardState
377377
title: "Cloud Provider",
378378
group: this.groups.Storage,
379379
},
380-
".*constraints/geo": {
381-
title: "Geographic Constraint",
380+
".*constraints/geo$": {
381+
title: "Continent",
382+
group: this.groups.Storage,
383+
},
384+
".*constraints/geo/continent/asia$": {
385+
title: "Country",
386+
group: this.groups.Storage,
387+
},
388+
".*constraints/geo/continent/asia/india$": {
389+
title: "State",
382390
group: this.groups.Storage,
383391
},
384392
".*constraints/compute/workers": {

0 commit comments

Comments
 (0)