Skip to content

Commit

Permalink
fix: service targetport update
Browse files Browse the repository at this point in the history
  • Loading branch information
c121914yu committed Sep 28, 2023
1 parent b08b39b commit a9f8dac
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ export const json2Service = (data: AppEditType) => {
spec: {
ports: data.networks.map((item, i) => ({
port: str2Num(item.port),
targetPort: str2Num(item.port),
name: item.portName
})),
selector: {
Expand Down

0 comments on commit a9f8dac

Please sign in to comment.