Skip to content

Commit ffe51d0

Browse files
committed
Make it clear that readonly mode is enabled
1 parent 32a7daf commit ffe51d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/flycheck/pg.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ func diskCapacityCheck(ctx context.Context, localConn *pgx.Conn, node *flypg.Nod
7171
return "", fmt.Errorf("failed to turn primary readonly: %s", err)
7272
}
7373

74-
return "", fmt.Errorf("%0.1f%% - extend your volume to re-enable writes", usedPercentage)
74+
return "", fmt.Errorf("%0.1f%% - readonly mode enabled, extend your volume to re-enable writes", usedPercentage)
7575
}
7676

7777
// Don't attempt to turn read/write if zombie lock exists.

0 commit comments

Comments
 (0)