Skip to content

Commit f934dfb

Browse files
committed
fix: remove duplicate api.rs and fix main.rs syntax error after rebase
1 parent b399f66 commit f934dfb

23 files changed

Lines changed: 1143 additions & 1056 deletions

src/api.rs

Lines changed: 0 additions & 244 deletions
This file was deleted.

src/api/mod.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
1-
pub mod vyos;
21
pub mod proxmox;
2+
pub mod vyos;
33

44
use anyhow::Result;
55

66
/// Common trait for all infrastructure providers
77
pub trait Provider {
88
/// Connect to the provider
99
fn connect(&self) -> Result<()>;
10-
10+
1111
/// Check connection status
1212
fn check_connection(&self) -> Result<bool>;
13-
13+
1414
/// Get provider name
1515
fn name(&self) -> &str;
1616
}
1717

1818
/// Result type for provider operations
19-
pub type ProviderResult<T> = Result<T>;
19+
pub type ProviderResult<T> = Result<T>;

0 commit comments

Comments
 (0)