Skip to content

Commit

Permalink
Updated defaults (#464)
Browse files Browse the repository at this point in the history
* UPdated defaults

* added comment
  • Loading branch information
samsmithnz committed Jun 15, 2023
1 parent 8cb0546 commit 0a8ae2d
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/RepoGovernance.Core/APIAccess/DevOpsMetricServiceApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,14 @@ public DevOpsMetricServiceApi(string devOpsServiceURL)
{
Owner = owner,
Repo = repo,
ChangeFailureRate = -1,
DeploymentFrequency = 0,
DeploymentFrequencyBadgeURL = "https://img.shields.io/badge/Deployment%20frequency-None-lightgrey",
LeadTimeForChanges = 0,
LeadTimeForChangesBadgeWithMetricURL = "https://img.shields.io/badge/Lead%20time%20for%20changes-None-lightgrey",
MeanTimeToRestore = 0,
MeanTimeToRestoreBadgeURL = "https://img.shields.io/badge/Lead%20time%20for%20changes-None-lightgrey",
ChangeFailureRate = -1, //This is -1 because the value is a percentage, and 0 means something
ChangeFailureRateBadgeURL = "https://img.shields.io/badge/Change%20failure%20rate-None-lightgrey",
LastUpdated = DateTime.Now,
LastUpdatedMessage = "Error getting DORA summary item: " + ex.ToString()
};
Expand Down

0 comments on commit 0a8ae2d

Please sign in to comment.