You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
returnfmt.Errorf("failed to get monitoring config: %w", err)
195
205
}
196
206
197
207
ifmonitorCfg!=nil {
208
+
209
+
// see above comment; because we don't know endpoint's actual PID, we need to make a fake one. Warn the user.
210
+
ifserviceUnitExists {
211
+
keys:=make([]string, 0, len(fakeServicePids))
212
+
fork:=rangefakeServicePids {
213
+
keys=append(keys, k)
214
+
}
215
+
fmt.Fprintf(streams.Err, "WARNING: the inspect command can't accurately produce monitoring configs for service units: %v. Use the diagnostics command to get the real config used for monitoring these components\n", keys)
0 commit comments