unused func

This commit is contained in:
Elbaz 2023-08-28 12:02:35 +03:00
parent 5c74d466ce
commit e2133042af

View File

@ -30,13 +30,6 @@ func (rt *userAgentRoundTripper) RoundTrip(req *http.Request) (*http.Response, e
return rt.inner.RoundTrip(req)
}
func UserAgentApplication() string {
if customApplication := os.Getenv(customUaEnvVar); customApplication != "" {
return customApplication
}
return DefaultApplicationName
}
func OpenTfUserAgent(version string) string {
ua := fmt.Sprintf("%s/%s", DefaultApplicationName, version)
if customUa := os.Getenv(customUaEnvVar); customUa != "" {