diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2020-10-22 17:23:51 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2020-10-22 22:02:56 +0200 |
| commit | 1616d34edcf609e9cff417106daa2152bbe754f8 (patch) | |
| tree | cd80c2689d06a78716cc0b31f222269ec7c2d63a /pkg | |
| parent | be6b1582e9ce6f1ac5d8978e70a6a9f91113f238 (diff) | |
pkg/kconfig: fix for Go 1.11
dashboard/app is still on Go 1.11 :(
Diffstat (limited to 'pkg')
| -rw-r--r-- | pkg/kconfig/kconfig.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/kconfig/kconfig.go b/pkg/kconfig/kconfig.go index 05c8d521f..a4786711e 100644 --- a/pkg/kconfig/kconfig.go +++ b/pkg/kconfig/kconfig.go @@ -403,5 +403,5 @@ func (kp *kconfigParser) parseDefaultValue() { } func (kp *kconfigParser) expandString(str string) string { - return strings.ReplaceAll(str, "$(SRCARCH)", "x86") + return strings.Replace(str, "$(SRCARCH)", "x86", -1) } |
