This function was removed due to new way of cluster deployment mode definition.
Please remove it