You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While I can add or remove aliases in host record, it's impossible to remove all host record aliases using ObjectManager.UpdateHostRecord() by supplying aliases parameter as nil or []string{}
This is due to omitempty in
Aliases []string json:"aliases,omitempty"
in HostRecord
It's true for both v1 and v2.
To test:
create host record with alias(es)
update host record to remove aliases
do GetHostRecord to observe aliases still present.
The text was updated successfully, but these errors were encountered:
Hi,
While I can add or remove aliases in host record, it's impossible to remove all host record aliases using ObjectManager.UpdateHostRecord() by supplying aliases parameter as nil or []string{}
This is due to omitempty in
Aliases []string
json:"aliases,omitempty"
in HostRecord
It's true for both v1 and v2.
To test:
The text was updated successfully, but these errors were encountered: