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 33495ab commit c151667Copy full SHA for c151667
1 file changed
config.go
@@ -58,5 +58,9 @@ func (c InletsProConfig) GetLicenseKey() (string, error) {
58
return strings.TrimSpace(val), nil
59
}
60
61
+ if dashes := strings.Count(val, "-"); dashes == 4 {
62
+ return strings.TrimSpace(val), nil
63
+ }
64
+
65
return "", fmt.Errorf("inlets license may be invalid")
66
0 commit comments