s/memoryswap/memswap/

Since clearly the equivalent of 'memory' is 'memswap' grumble
pull/159/head
yuvipanda 2017-11-30 17:17:03 -08:00
rodzic 86c24c1a18
commit c3ec9c9fa8
2 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -392,7 +392,7 @@ class BuildPack(LoggingConfigurable):
limits = {
# Always disable memory swap for building, since mostly
# nothing good can come of that.
'memoryswap': -1
'memswap': -1
}
if memory_limit:
limits['memory'] = memory_limit

Wyświetl plik

@ -22,7 +22,7 @@ class DockerBuildPack(BuildPack):
limits = {
# Always disable memory swap for building, since mostly
# nothing good can come of that.
'memoryswap': -1
'memswap': -1
}
if memory_limit:
limits['memory'] = memory_limit