Skip to content

Commit ddb3a12

Browse files
authored
chore(google-api-go-generator): replace literal with const (#2363)
1 parent d266978 commit ddb3a12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

google-api-go-generator/gen.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -778,7 +778,7 @@ func (a *API) GenerateCode() ([]byte, error) {
778778
if mtlsBase := a.mtlsAPIBaseURL(); mtlsBase != "" {
779779
pn("const mtlsBasePath = %q", mtlsBase)
780780
}
781-
pn("const defaultUniverseDomain = \"googleapis.com\"")
781+
pn("const defaultUniverseDomain = %q", googleDefaultUniverse)
782782

783783
a.generateScopeConstants()
784784
a.PopulateSchemas()

0 commit comments

Comments
 (0)