diff options
Diffstat (limited to 'node-repository/src/main/java/com/yahoo/vespa/hosted/provision/restapi/v2/NodePatcher.java')
-rw-r--r-- | node-repository/src/main/java/com/yahoo/vespa/hosted/provision/restapi/v2/NodePatcher.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/node-repository/src/main/java/com/yahoo/vespa/hosted/provision/restapi/v2/NodePatcher.java b/node-repository/src/main/java/com/yahoo/vespa/hosted/provision/restapi/v2/NodePatcher.java index d59cb60e15a..5a427fffe9a 100644 --- a/node-repository/src/main/java/com/yahoo/vespa/hosted/provision/restapi/v2/NodePatcher.java +++ b/node-repository/src/main/java/com/yahoo/vespa/hosted/provision/restapi/v2/NodePatcher.java @@ -158,9 +158,10 @@ public class NodePatcher { return node.with(node.flavor().with(node.flavor().resources().withVcpu(value.asDouble()))); case "fastDisk": return node.with(node.flavor().with(node.flavor().resources().withDiskSpeed(value.asBool() ? fast : slow))); - case "bandwidthGbps": case "bandwidth": return node.with(node.flavor().with(node.flavor().resources().withBandwidthGbps(value.asDouble() / 1000))); + case "bandwidthGbps": + return node.with(node.flavor().with(node.flavor().resources().withBandwidthGbps(value.asDouble()))); case "modelName": if (value.type() == Type.NIX) { return node.withoutModelName(); |