smalltown -> metropolis
This pass removes all mentions of Smalltown, both from code and comments,
and replaces them with appropriate new terminology.
Test Plan: Refactor, covered by CI.
X-Origin-Diff: phab/D674
GitOrigin-RevId: 04a94d44ef07d46f7821530da5614daefe16d7ea
diff --git a/metropolis/node/build/genosrelease/main.go b/metropolis/node/build/genosrelease/main.go
index 2344f19..e19876e 100644
--- a/metropolis/node/build/genosrelease/main.go
+++ b/metropolis/node/build/genosrelease/main.go
@@ -53,7 +53,7 @@
statusVars[parts[0]] = parts[1]
}
- smalltownVersion, ok := statusVars[*flagStampVar]
+ version, ok := statusVars[*flagStampVar]
if !ok {
fmt.Printf("%v key not set in bazel workspace status file\n", *flagStampVar)
os.Exit(1)
@@ -62,9 +62,9 @@
osReleaseVars := map[string]string{
"NAME": *flagName,
"ID": *flagID,
- "VERSION": smalltownVersion,
- "VERSION_ID": smalltownVersion,
- "PRETTY_NAME": *flagName + " " + smalltownVersion,
+ "VERSION": version,
+ "VERSION_ID": version,
+ "PRETTY_NAME": *flagName + " " + version,
}
osReleaseContent, err := godotenv.Marshal(osReleaseVars)
if err != nil {