Skip to content

Commit

Permalink
fix: DNS Action Destroy Failed
Browse files Browse the repository at this point in the history
Signed-off-by: yangzhenming <[email protected]>
  • Loading branch information
yangzhenming authored and tiny-x committed Dec 14, 2023
1 parent 466d1d6 commit 24f89e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exec/model/executor_nsexec.go
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ func getExperimentIdentifiersWithNsexec(ctx context.Context, expModel *spec.ExpM
identifiers := make([]ExperimentIdentifierInPod, 0)
for idx, obj := range containerObjectMetaList {
var generatedCommand string
if expModel.Target == "network" && handle == "destroy" {
if expModel.Target == "network" && handle == "destroy" && expModel.ActionName != "dns" {
labels := []string{
fmt.Sprintf("io.kubernetes.pod.name=%s", obj.PodName),
fmt.Sprintf("io.kubernetes.pod.namespace=%s", obj.Namespace),
Expand Down

0 comments on commit 24f89e9

Please sign in to comment.