func SetInstanceID(instanceID string) error {
	lock.Lock()
	defer lock.Unlock()
	if instanceID == "" {
		return fmt.Errorf("invalid instanceID")
	}
	cachedInstanceID = instanceID
	return nil
}
// SetInstanceID overrides the platform instanceID
SetInstanceID overrides the platform instanceID
// SetInstanceID overrides the platform instanceID
func SetInstanceID(instanceID string) error {
	lock.Lock()
	defer lock.Unlock()
	if instanceID == "" {
		return fmt.Errorf("invalid instanceID")
	}
	cachedInstanceID = instanceID
	return nil
}
func SetInstanceID ( instanceID string ) error { lock . Lock ( ) defer lock . Unlock ( ) if instanceID == " " { return fmt . Errorf ( " " ) } cachedInstanceID = instanceID return nil }
SetInstanceID overrides the platform instanceID
SetInstanceID overrides the platform instanceID