We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5b810ea commit 6b56e09Copy full SHA for 6b56e09
pkg/config/record.go
@@ -38,6 +38,10 @@ func (r Record) GetData() string {
38
}
39
40
func (r Record) GetPriority() string {
41
+ if r.Priority == 0 {
42
+ return ""
43
+ }
44
+
45
return fmt.Sprint(r.Priority)
46
47
pkg/providers/porkbun/record/record.go
@@ -29,6 +29,10 @@ func (r Record) GetData() string {
29
30
31
32
+ if r.Priority == "0" {
33
34
35
36
return r.Priority
37
0 commit comments