Skip to content

Commit

Permalink
Undo fix for change of dns class
Browse files Browse the repository at this point in the history
```action operator
This release replaces the former (0.6.2) one. Please do not use
version 0.6.2, but this one instead.

0.6.2 contains an errornous fix for changing dns classes.
It will cause problems if two dns source controllers
are running with different dns-classes.
```
  • Loading branch information
mandelsoft committed Aug 21, 2019
1 parent 5a4c8ea commit f962a08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/dns/source/dnsinfo.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ func (this *sourceReconciler) exclude(dns string) bool {

func (this *sourceReconciler) getDNSInfo(logger logger.LogContext, obj resources.Object, s DNSSource, current *DNSCurrentState) (*DNSInfo, error) {
if !this.classes.IsResponsibleFor(logger, obj) {
return &DNSInfo{}, nil
return nil, nil
}
a := obj.GetAnnotations()[DNS_ANNOTATION]
current.AnnotatedNames = utils.StringSet{}
Expand Down

0 comments on commit f962a08

Please sign in to comment.