Skip to content

Commit 5d122dd

Browse files
committed
pass --machine-type flag to gcsfuse binary
1 parent 5e3edce commit 5d122dd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cmd/sidecar_mounter/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ func main() {
7777
if mc != nil {
7878
// TODO: Pass machine-type to gcsfuse binary
7979
klog.Infof("Setting machine type to gcsfuse binary %v", machineType)
80-
// mc.FlagMap["machine-type"] = machineType
80+
mc.FlagMap["machine-type"] = machineType
8181
mc.FlagMap["disable-autoconfig"] = strconv.FormatBool(*disableAutoConfig)
8282
if err := mounter.Mount(ctx, mc); err != nil {
8383
mc.ErrWriter.WriteMsg(fmt.Sprintf("failed to mount bucket %q for volume %q: %v\n", mc.BucketName, mc.VolumeName, err))

0 commit comments

Comments
 (0)