@@ -222,19 +222,19 @@ impl Config {
222222}
223223
224224// The filename of ServiceManager's internal storage.
225- const SERVICES_CONFIG_FILENAME : & str = "services.toml" ;
226- const STORAGE_SERVICES_CONFIG_FILENAME : & str = "storage-services.toml" ;
225+ const SERVICES_LEDGER_FILENAME : & str = "services.toml" ;
226+ const STORAGE_SERVICES_LEDGER_FILENAME : & str = "storage-services.toml" ;
227227
228228// The default path to service configuration
229229fn default_services_ledger_path ( ) -> PathBuf {
230230 Path :: new ( omicron_common:: OMICRON_CONFIG_PATH )
231- . join ( SERVICES_CONFIG_FILENAME )
231+ . join ( SERVICES_LEDGER_FILENAME )
232232}
233233
234234// The default path to storage service configuration
235235fn default_storage_services_ledger_path ( ) -> PathBuf {
236236 Path :: new ( omicron_common:: OMICRON_CONFIG_PATH )
237- . join ( STORAGE_SERVICES_CONFIG_FILENAME )
237+ . join ( STORAGE_SERVICES_LEDGER_FILENAME )
238238}
239239
240240// A wrapper around `ZoneRequest`, which allows it to be serialized
@@ -1358,13 +1358,13 @@ impl ServiceManager {
13581358 ) ) ;
13591359 // The filename of a half-completed config, in need of parameters supplied at
13601360 // runtime.
1361- const PARTIAL_CONFIG_FILENAME : & str = "config-partial.toml" ;
1361+ const PARTIAL_LEDGER_FILENAME : & str = "config-partial.toml" ;
13621362 // The filename of a completed config, merging the partial config with
13631363 // additional appended parameters known at runtime.
1364- const COMPLETE_CONFIG_FILENAME : & str = "config.toml" ;
1364+ const COMPLETE_LEDGER_FILENAME : & str = "config.toml" ;
13651365 let partial_config_path =
1366- config_dir. join ( PARTIAL_CONFIG_FILENAME ) ;
1367- let config_path = config_dir. join ( COMPLETE_CONFIG_FILENAME ) ;
1366+ config_dir. join ( PARTIAL_LEDGER_FILENAME ) ;
1367+ let config_path = config_dir. join ( COMPLETE_LEDGER_FILENAME ) ;
13681368 tokio:: fs:: copy ( partial_config_path, & config_path)
13691369 . await
13701370 . map_err ( |err| Error :: io_path ( & config_path, err) ) ?;
@@ -2473,9 +2473,9 @@ mod test {
24732473
24742474 fn make_config ( & self ) -> Config {
24752475 let all_svcs_ledger_path =
2476- self . config_dir . path ( ) . join ( SERVICES_CONFIG_FILENAME ) ;
2476+ self . config_dir . path ( ) . join ( SERVICES_LEDGER_FILENAME ) ;
24772477 let storage_svcs_ledger_path =
2478- self . config_dir . path ( ) . join ( STORAGE_SERVICES_CONFIG_FILENAME ) ;
2478+ self . config_dir . path ( ) . join ( STORAGE_SERVICES_LEDGER_FILENAME ) ;
24792479 Config {
24802480 sled_id : Uuid :: new_v4 ( ) ,
24812481 sidecar_revision : "rev_whatever_its_a_test" . to_string ( ) ,
0 commit comments