Skip to content

Commit

Permalink
not delegated status fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Plaksin Andrey committed Jul 25, 2023
1 parent 044a8a1 commit 79c8af7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions util.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@ func fixDomainStatus(status []string) []string {
for k, v := range status {
names := strings.Split(strings.TrimSpace(v), " ")
status[k] = strings.ToLower(names[0])
if status[k] == "not" && len(names) > 1 && strings.ToLower(names[1]) == "delegated" {
status[k] = "not delegated"
}
}

return status
Expand Down

0 comments on commit 79c8af7

Please sign in to comment.