@@ -2,7 +2,7 @@ use crate::prelude::*;
22
33use super :: spec:: { GraphDeclaration , GraphElementMapping , NodeFromFieldsSpec , TargetFieldMapping } ;
44use crate :: setup:: components:: { self , State } ;
5- use crate :: setup:: { ResourceSetupStatusCheck , SetupChangeType } ;
5+ use crate :: setup:: { ResourceSetupStatus , SetupChangeType } ;
66use crate :: { ops:: sdk:: * , setup:: CombinedState } ;
77
88use indoc:: formatdoc;
@@ -855,7 +855,7 @@ fn build_composite_field_names(qualifier: &str, field_names: &[String]) -> Strin
855855}
856856#[ derive( Derivative ) ]
857857#[ derivative( Debug ) ]
858- struct SetupStatusCheck {
858+ struct SetupStatus {
859859 key : GraphElement ,
860860 #[ derivative( Debug = "ignore" ) ]
861861 graph_pool : Arc < GraphPool > ,
@@ -864,7 +864,7 @@ struct SetupStatusCheck {
864864 change_type : SetupChangeType ,
865865}
866866
867- impl SetupStatusCheck {
867+ impl SetupStatus {
868868 fn new (
869869 key : GraphElement ,
870870 graph_pool : Arc < GraphPool > ,
@@ -908,7 +908,7 @@ impl SetupStatusCheck {
908908}
909909
910910#[ async_trait]
911- impl ResourceSetupStatusCheck for SetupStatusCheck {
911+ impl ResourceSetupStatus for SetupStatus {
912912 fn describe_changes ( & self ) -> Vec < String > {
913913 let mut result = vec ! [ ] ;
914914 if let Some ( data_clear) = & self . data_clear {
@@ -1255,24 +1255,24 @@ impl StorageFactoryBase for Factory {
12551255 desired : Option < SetupState > ,
12561256 existing : CombinedState < SetupState > ,
12571257 auth_registry : & Arc < AuthRegistry > ,
1258- ) -> Result < impl ResourceSetupStatusCheck + ' static > {
1258+ ) -> Result < impl ResourceSetupStatus + ' static > {
12591259 let conn_spec = auth_registry. get :: < ConnectionSpec > ( & key. connection ) ?;
1260- let base = SetupStatusCheck :: new (
1260+ let base = SetupStatus :: new (
12611261 key,
12621262 self . graph_pool . clone ( ) ,
12631263 conn_spec. clone ( ) ,
12641264 desired. as_ref ( ) ,
12651265 & existing,
12661266 ) ;
1267- let comp = components:: StatusCheck :: create (
1267+ let comp = components:: Status :: create (
12681268 SetupComponentOperator {
12691269 graph_pool : self . graph_pool . clone ( ) ,
12701270 conn_spec : conn_spec. clone ( ) ,
12711271 } ,
12721272 desired,
12731273 existing,
12741274 ) ?;
1275- Ok ( components:: combine_status_checks ( base, comp) )
1275+ Ok ( components:: combine_setup_statuss ( base, comp) )
12761276 }
12771277
12781278 fn check_state_compatibility (
0 commit comments