summaryrefslogtreecommitdiffstats
path: root/node-admin/src/main
diff options
context:
space:
mode:
authorjonmv <venstad@gmail.com>2022-04-08 22:26:37 +0200
committerjonmv <venstad@gmail.com>2022-04-08 22:26:37 +0200
commit1c27950698237c7ebe0f8ea7ed5848889d6b4759 (patch)
tree6748bfa41fac16ad9b22d0afba4d150b44414542 /node-admin/src/main
parentc5c330f63efb47dad355860db70bf3a89a737970 (diff)
Revert "Merge pull request #22068 from vespa-engine/jonmv/unify-hostname-classes"
This reverts commit 8aa4c83df5ce7843c040afa41706fcc7c3afd030, reversing changes made to f95ad44fae879da9db19f73eabe62c53baeb0c36.
Diffstat (limited to 'node-admin/src/main')
-rw-r--r--node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/nodeagent/NodeAgentContext.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/nodeagent/NodeAgentContext.java b/node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/nodeagent/NodeAgentContext.java
index d884c608ead..2713ff45ae8 100644
--- a/node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/nodeagent/NodeAgentContext.java
+++ b/node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/nodeagent/NodeAgentContext.java
@@ -27,7 +27,7 @@ public interface NodeAgentContext extends TaskContext {
/** @return hostname of the linux container this context applies to */
default HostName hostname() {
- return HostName.of(node().hostname());
+ return HostName.from(node().hostname());
}
default NodeType nodeType() {