diff --git a/dev-tools/mage/fmt.go b/dev-tools/mage/fmt.go index 02a8001895e..b4463696b81 100644 --- a/dev-tools/mage/fmt.go +++ b/dev-tools/mage/fmt.go @@ -74,8 +74,8 @@ func GoImports() error { return err } } else { - if err := gotool.Get( - gotool.Get.Package(filepath.Join(GoImportsImportPath)), + if err := gotool.Install( + gotool.Install.Package(filepath.Join(GoImportsImportPath)), ); err != nil { return err }