Beispiel #1
0
        public async Task <IClusterInfo> GetClusterInfoAsync()
        {
            IResult <IClusterInfo> result = await _clusterManager.ClusterInfoAsync().ConfigureAwait(false);

            if (result.Success != true)
            {
                throw new CannotAccesClusterInfoException(result.Message, result.Exception);
            }

            return(result.Value);
        }