Skip to content

Commit

Permalink
Fix golangci-lint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
falfaroc committed Nov 22, 2024
1 parent 196a140 commit aa73fed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -847,7 +847,7 @@ func (s *service) getZonesFromSecret() map[ZoneName]ZoneContent {

zone := availabilityZone.Name

var pd ProtectionDomainName = ""
var pd ProtectionDomainName
if availabilityZone.ProtectionDomains[0].Name != "" {
pd = availabilityZone.ProtectionDomains[0].Name
}
Expand Down

0 comments on commit aa73fed

Please sign in to comment.