We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58314c3 commit 2b5f351Copy full SHA for 2b5f351
pkg/api/api.go
@@ -2440,6 +2440,10 @@ func (s *ScalewayAPI) GetQuotas() (*ScalewayGetQuotas, error) {
2440
// GetBootscriptID returns exactly one bootscript matching
2441
func (s *ScalewayAPI) GetBootscriptID(needle, arch string) (string, error) {
2442
// Parses optional type prefix, i.e: "bootscript:name" -> "name"
2443
+ if anonuuid.IsUUID(needle) == nil {
2444
+ return needle, nil
2445
+ }
2446
+
2447
_, needle = parseNeedle(needle)
2448
2449
bootscripts, err := s.ResolveBootscript(needle)
0 commit comments