@@ -239,34 +239,37 @@ impl Client {
239239 pub async fn set_server_startup_variable (
240240 & self ,
241241 uuid : uuid:: Uuid ,
242+ schedule : Option < uuid:: Uuid > ,
242243 env_variable : & str ,
243244 value : & str ,
244245 ) -> Result < ( ) , anyhow:: Error > {
245246 tracing:: info!( "setting server startup variable" ) ;
246247
247- super :: servers:: set_server_startup_variable ( self , uuid, env_variable, value) . await
248+ super :: servers:: set_server_startup_variable ( self , uuid, schedule , env_variable, value) . await
248249 }
249250
250251 #[ tracing:: instrument( skip( self ) ) ]
251252 pub async fn set_server_startup_command (
252253 & self ,
253254 uuid : uuid:: Uuid ,
255+ schedule : Option < uuid:: Uuid > ,
254256 command : & str ,
255257 ) -> Result < ( ) , anyhow:: Error > {
256258 tracing:: info!( "setting server startup command" ) ;
257259
258- super :: servers:: set_server_startup_command ( self , uuid, command) . await
260+ super :: servers:: set_server_startup_command ( self , uuid, schedule , command) . await
259261 }
260262
261263 #[ tracing:: instrument( skip( self ) ) ]
262264 pub async fn set_server_startup_docker_image (
263265 & self ,
264266 uuid : uuid:: Uuid ,
267+ schedule : Option < uuid:: Uuid > ,
265268 image : & str ,
266269 ) -> Result < ( ) , anyhow:: Error > {
267270 tracing:: info!( "setting server startup docker image" ) ;
268271
269- super :: servers:: set_server_startup_docker_image ( self , uuid, image) . await
272+ super :: servers:: set_server_startup_docker_image ( self , uuid, schedule , image) . await
270273 }
271274
272275 #[ tracing:: instrument( skip( self ) ) ]
@@ -333,11 +336,12 @@ impl Client {
333336 pub async fn create_backup (
334337 & self ,
335338 server : uuid:: Uuid ,
339+ schedule : Option < uuid:: Uuid > ,
336340 name : Option < & str > ,
337341 ignored_files : & [ impl Serialize + Debug + AsRef < str > ] ,
338342 ) -> Result < ( BackupAdapter , uuid:: Uuid ) , anyhow:: Error > {
339343 tracing:: info!( "creating backup" ) ;
340344
341- super :: backups:: create_backup ( self , server, name, ignored_files) . await
345+ super :: backups:: create_backup ( self , server, schedule , name, ignored_files) . await
342346 }
343347}
0 commit comments