Skip to content

Commit e68919d

Browse files
committed
fix(web): identify environments in provider update messages
1 parent 0f80b77 commit e68919d

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎apps/web/src/components/ProviderUpdateLaunchNotification.logic.ts‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,10 @@ export function getProviderUpdateRunOutcome(
217217
(provider) => provider.instanceId === run.instanceId,
218218
)?.updateState;
219219
return updateState?.status === "succeeded"
220-
? { status: "updated", message: updateState.message }
220+
? {
221+
status: "updated",
222+
message: updateState.message ? `${label}: ${updateState.message}` : null,
223+
}
221224
: {
222225
status: "failed",
223226
line: `${label}: ${updateState?.message ?? "Provider update did not finish."}`,

0 commit comments

Comments
 (0)