Skip to content

Commit

Permalink
delete json.spec.selector.matchLabels['fix-pod-ip']
Browse files Browse the repository at this point in the history
  • Loading branch information
yueyongyue committed Sep 8, 2020
1 parent 7e5047e commit 735942b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/view/workload/deployment/deployment.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3644,12 +3644,14 @@ export default {
delete json.spec.template.metadata.annotations['metric-interval']
}
delete json.spec.selector.matchLabels['log-injection']
delete json.spec.selector.matchLabels['fix-pod-ip']
} else {
delete json.spec.template.metadata.annotations['metric-interval']
delete json.spec.template.metadata.labels['log-injection']
delete json.metadata.labels['log-injection']
delete json.spec.template.metadata.annotations['log-file-directory']
delete json.spec.selector.matchLabels['log-injection']
delete json.spec.selector.matchLabels['fix-pod-ip']
}
if (value === 'CREATE') {
formCreateController({
Expand Down

0 comments on commit 735942b

Please sign in to comment.