Skip to content

Commit 5566fc6

Browse files
committed
cmd/buildlet: fix a forgotten rename from buildlet type to host type
I missed this in the great rename between patchsets 6 and 7: https://go-review.googlesource.com/#/c/29551/6..7 Change-Id: Id34d36805519a7baa2ab1ea96f616ee1705994b0 Reviewed-on: https://go-review.googlesource.com/29671 Reviewed-by: Matthew Dempsky <[email protected]>
1 parent 328c9b8 commit 5566fc6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmd/buildlet/buildlet.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1242,9 +1242,9 @@ func makeBSDFilesystemFast() {
12421242
log.Printf("Not on GCE; not remounting root filesystem.")
12431243
return
12441244
}
1245-
btype, err := metadata.InstanceAttributeValue("buildlet-type")
1245+
btype, err := metadata.InstanceAttributeValue("buildlet-host-type")
12461246
if _, ok := err.(metadata.NotDefinedError); ok && len(btype) == 0 {
1247-
log.Printf("Not remounting root filesystem due to missing buildlet-type metadata.")
1247+
log.Printf("Not remounting root filesystem due to missing buildlet-host-type metadata.")
12481248
return
12491249
}
12501250
if err != nil {

0 commit comments

Comments
 (0)