chore: Cleanup warnings and unused functions
All checks were successful
Run Check Script / check (pull_request) Successful in 1m20s
All checks were successful
Run Check Script / check (pull_request) Successful in 1m20s
This commit is contained in:
@@ -43,27 +43,27 @@ impl Config {
|
||||
})
|
||||
}
|
||||
|
||||
pub fn dhcp_legacy_isc(&mut self) -> DhcpConfigLegacyISC {
|
||||
pub fn dhcp_legacy_isc(&mut self) -> DhcpConfigLegacyISC<'_> {
|
||||
DhcpConfigLegacyISC::new(&mut self.opnsense, self.shell.clone())
|
||||
}
|
||||
|
||||
pub fn dhcp(&mut self) -> DhcpConfigDnsMasq {
|
||||
pub fn dhcp(&mut self) -> DhcpConfigDnsMasq<'_> {
|
||||
DhcpConfigDnsMasq::new(&mut self.opnsense, self.shell.clone())
|
||||
}
|
||||
|
||||
pub fn dns(&mut self) -> DnsConfig {
|
||||
pub fn dns(&mut self) -> DnsConfig<'_> {
|
||||
DnsConfig::new(&mut self.opnsense)
|
||||
}
|
||||
|
||||
pub fn tftp(&mut self) -> TftpConfig {
|
||||
pub fn tftp(&mut self) -> TftpConfig<'_> {
|
||||
TftpConfig::new(&mut self.opnsense, self.shell.clone())
|
||||
}
|
||||
|
||||
pub fn caddy(&mut self) -> CaddyConfig {
|
||||
pub fn caddy(&mut self) -> CaddyConfig<'_> {
|
||||
CaddyConfig::new(&mut self.opnsense, self.shell.clone())
|
||||
}
|
||||
|
||||
pub fn load_balancer(&mut self) -> LoadBalancerConfig {
|
||||
pub fn load_balancer(&mut self) -> LoadBalancerConfig<'_> {
|
||||
LoadBalancerConfig::new(&mut self.opnsense, self.shell.clone())
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user