Free cookie consent management tool by TermsFeed Policy Generator

Changeset 9375


Ignore:
Timestamp:
04/17/13 16:34:30 (12 years ago)
Author:
fschoepp
Message:

#1888:

  • Getting connection information from configuration file
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/OaaS/HeuristicLab.Clients.Hive.Slave.AzureClient/3.3/WorkerRole.cs

    r9365 r9375  
    9898
    9999    private void LogError(Exception e) {
    100       var storageAccount = CloudStorageAccount.Parse("DefaultEndpointsProtocol=https;AccountName=optimizationstorage1;AccountKey=n7Leom8ZFWkof/VQ2a4aRSvwOlX+Gwr3uojQF9CFJw1osmGCV0WwaNC8s7nkZ+qteLduAgW2l75WFpbXrkvG4Q==");
     100      var storageAccount = CloudStorageAccount.Parse(RoleEnvironment.GetConfigurationSettingValue(Constants.DiagnosticsConnectionString));
    101101      var blobClient = storageAccount.CreateCloudBlobClient();
    102102      var container = blobClient.GetContainerReference("slavelog");
Note: See TracChangeset for help on using the changeset viewer.