The cloud sync SDK in cloud/endpointsync uses Go's os.Hostname() as the default Endpoint Identifier (human readable). However, on mac it seems Hostname and Computer name are different:
Example hostname: macbookpro.lan
Computer Name: Someone's Macbook Pro
We need to check and verify if os.Hostname is the best way to collect human readable Endpoint Identifier or is there a better approach.
The cloud sync SDK in
cloud/endpointsyncuses Go'sos.Hostname()as the default Endpoint Identifier (human readable). However, on mac it seems Hostname and Computer name are different:Example hostname:
macbookpro.lanComputer Name:
Someone's Macbook ProWe need to check and verify if
os.Hostnameis the best way to collect human readable Endpoint Identifier or is there a better approach.