chore: change providers url in the log

Kujtim Hoxha created

Change summary

internal/config/provider.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Detailed changes

internal/config/provider.go 🔗

@@ -162,7 +162,7 @@ func loadProviders(autoUpdateDisabled bool, client ProviderClient, path string)
 
 		providers, err := catwalkGetAndSave()
 		if err != nil {
-			catwalkUrl := fmt.Sprintf("%s/providers", cmp.Or(os.Getenv("CATWALK_URL"), defaultCatwalkURL))
+			catwalkUrl := fmt.Sprintf("%s/v2/providers", cmp.Or(os.Getenv("CATWALK_URL"), defaultCatwalkURL))
 			return nil, fmt.Errorf("Crush was unable to fetch an updated list of providers from %s. Consider setting CRUSH_DISABLE_PROVIDER_AUTO_UPDATE=1 to use the embedded providers bundled at the time of this Crush release. You can also update providers manually. For more info see crush update-providers --help. %w", catwalkUrl, err) //nolint:staticcheck
 		}
 		return providers, nil