mirror of
https://github.com/opentofu/opentofu.git
synced 2025-01-26 16:36:26 -06:00
unused func
This commit is contained in:
parent
5c74d466ce
commit
e2133042af
@ -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 != "" {
|
||||
|
Loading…
Reference in New Issue
Block a user