fix misspelling var name

This commit is contained in:
Leo Chen 2024-11-13 17:58:56 +08:00
parent 2ff923dd1b
commit 952e9687d0

View File

@ -101,9 +101,9 @@ func (d *TencentCDNDeployer) Deploy(ctx context.Context) error {
} }
temp := make([]string, 0) temp := make([]string, 0)
for _, aliInstanceId := range tcInstanceIds { for _, tcInstanceId := range tcInstanceIds {
if !slices.Contains(deployedDomains, aliInstanceId) { if !slices.Contains(deployedDomains, tcInstanceId) {
temp = append(temp, aliInstanceId) temp = append(temp, tcInstanceId)
} }
} }
tcInstanceIds = temp tcInstanceIds = temp