Skip to content

Commit 61b96ec

Browse files
Merge pull request #402 from typeid/servicelog_templating
fix: ClusterProvisioningDelay servicelog templating
2 parents c9db9cf + 5c3089f commit 61b96ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/investigations/cpd/cpd.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ func (c *Investigation) Run(r *investigation.Resources) (investigation.Investiga
100100
logging.Infof("Network verifier reported failure: %s", failureReason)
101101
// XXX: metrics.Inc(metrics.ServicelogPrepared, investigationName)
102102
result.ServiceLogPrepared = investigation.InvestigationStep{Performed: true, Labels: nil}
103-
notes.AppendWarning("NetworkVerifier found unreachable targets. \n \n Verify and send service log if necessary: \n osdctl servicelog post %s -t https://raw.githubusercontent.com/openshift/managed-notifications/master/osd/required_network_egresses_are_blocked.json -p URLS=%s", r.Cluster.ID(), failureReason)
103+
notes.AppendWarning("NetworkVerifier found unreachable targets. \n \n Verify and send service log if necessary: \n osdctl servicelog post %s -t https://raw.githubusercontent.com/openshift/managed-notifications/master/osd/required_network_egresses_are_blocked.json -p URLS=\"%s\"", r.Cluster.ID(), failureReason)
104104

105105
// In the future, we want to send a service log in this case
106106
err = r.PdClient.AddNote(notes.String())

0 commit comments

Comments
 (0)