Skip to content

Commit 3dad265

Browse files
authored
Allow underscore in host name (#1086)
1 parent 6a7b70d commit 3dad265

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

api/grpc/mpi/v1/command.pb.go

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/grpc/mpi/v1/command.proto

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ message HostInfo {
6565
// The host identifier
6666
string host_id = 1 [(buf.validate.field).string.uuid = true];
6767
// The name of the host
68-
string hostname = 2 [(buf.validate.field).string.address = true];
68+
string hostname = 2;
6969
// Release information of the host
7070
ReleaseInfo release_info = 3;
7171
}
@@ -89,7 +89,7 @@ message ContainerInfo {
8989
// The identifier of the container
9090
string container_id = 1 [(buf.validate.field).string.uuid = true];
9191
// The name of the host
92-
string hostname = 2 [(buf.validate.field).string.address = true];
92+
string hostname = 2;
9393
// Release information of the container
9494
ReleaseInfo release_info = 3;
9595
}

0 commit comments

Comments
 (0)