Adjust to issue with infrastructure metadata

This commit is contained in:
Davide De Rosa 2019-12-12 00:55:34 +01:00
parent 5c918c3a86
commit 6eb6e5a735
2 changed files with 2 additions and 2 deletions

View File

@ -76,7 +76,7 @@ class IssueReporter: NSObject {
let bodyContent = AppConstants.IssueReporter.Email.template let bodyContent = AppConstants.IssueReporter.Email.template
var bodyMetadata = "--\n\n" var bodyMetadata = "--\n\n"
bodyMetadata += DebugLog(raw: "").decoratedString() bodyMetadata += DebugLog(raw: "").decoratedString()
if let metadata = issue.infrastructure.metadata { if let metadata = issue.infrastructureMetadata {
bodyMetadata += "Provider: \(metadata.description)\n" bodyMetadata += "Provider: \(metadata.description)\n"
if let lastUpdated = InfrastructureFactory.shared.modificationDate(forName: metadata.name) { if let lastUpdated = InfrastructureFactory.shared.modificationDate(forName: metadata.name) {
bodyMetadata += "Last updated: \(lastUpdated)\n" bodyMetadata += "Last updated: \(lastUpdated)\n"

@ -1 +1 @@
Subproject commit a928a0f840d3d0283434b5e9211eac50cbbef2b8 Subproject commit a25761342a62c75723d523a5c4a0440ad342191c