We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2bfffb9 + 0319cb7 commit 0b6e44eCopy full SHA for 0b6e44e
1 file changed
pkg/drivers/linode/linode.go
@@ -310,6 +310,11 @@ func (d *Driver) SetConfigFromFlags(flags drivers.DriverOptions) error {
310
d.InstanceLabel = d.GetMachineName()
311
}
312
313
+ if len(d.InstanceLabel) > 64 {
314
+ d.InstanceLabel = d.InstanceLabel[:64]
315
+ log.Warnf("The name for this machine exceeds the 64 character Linode label limit. Truncating to %s", d.InstanceLabel)
316
+ }
317
+
318
return nil
319
320
0 commit comments