We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d5ad2e0 commit 02c3969Copy full SHA for 02c3969
platforms/kubernetes/postgres-operator/postgres/handle.py
@@ -210,12 +210,12 @@
210
"track_commit_timestamp", "unix_socket_directories", "unix_socket_group",
211
"unix_socket_permissions", "wal_buffers", "wal_level", "wal_log_hints")
212
units = {
213
- "Ki": 2 << 10,
214
- "Mi": 2 << 20,
215
- "Gi": 2 << 30,
216
- "Ti": 2 << 40,
217
- "Pi": 2 << 50,
218
- "Ei": 2 << 60,
+ "Ki": 1 << 10,
+ "Mi": 1 << 20,
+ "Gi": 1 << 30,
+ "Ti": 1 << 40,
+ "Pi": 1 << 50,
+ "Ei": 1 << 60,
219
"K": pow(1000, 1),
220
"M": pow(1000, 2),
221
"G": pow(1000, 3),
0 commit comments