Skip to content

Commit

Permalink
Correction to variable name
Browse files Browse the repository at this point in the history
Signed-off-by: Wouter van der Waal <[email protected]>
  • Loading branch information
wvanderwaal-iqmessenger committed Mar 14, 2024
1 parent d385022 commit 2fb9b40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nsxt/resource_nsxt_policy_nat_rule_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ func testAccNsxtPolicyNATRuleTier1CreateTemplate(name string, action string, sou
}
policyBasedVpnModeType := ""
if action == model.PolicyNatRule_ACTION_DNAT || action == model.PolicyNatRule_ACTION_NO_DNAT {
policyBasedVpnMode = fmt.Sprintf(`policy_based_vpn_mode = "%s"`, model.PolicyNatRule_POLICY_BASED_VPN_MODE_BYPASS)
policyBasedVpnModeType = fmt.Sprintf(`policy_based_vpn_mode = "%s"`, model.PolicyNatRule_POLICY_BASED_VPN_MODE_BYPASS)
}
return testAccNsxtPolicyEdgeClusterReadTemplate(getEdgeClusterName()) +
testAccNsxtPolicyTier1WithEdgeClusterTemplate("test", false, withContext) + fmt.Sprintf(`
Expand Down

0 comments on commit 2fb9b40

Please sign in to comment.