feat(config): use accesors for hostname and user
This commit is contained in:
parent
3c4a0d52b1
commit
be01d106a4
1 changed files with 4 additions and 4 deletions
|
@ -147,8 +147,8 @@ impl From<(&ForgeName, &Forge)> for ForgeDetails {
|
||||||
Self {
|
Self {
|
||||||
name: forge.0.clone(),
|
name: forge.0.clone(),
|
||||||
forge_type: forge.1.forge_type.clone(),
|
forge_type: forge.1.forge_type.clone(),
|
||||||
hostname: Hostname(forge.1.hostname.clone()),
|
hostname: forge.1.hostname(),
|
||||||
user: User(forge.1.user.clone()),
|
user: forge.1.user(),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -189,8 +189,8 @@ impl RepoDetails {
|
||||||
forge: ForgeDetails {
|
forge: ForgeDetails {
|
||||||
name: forge_name.clone(),
|
name: forge_name.clone(),
|
||||||
forge_type: forge.forge_type.clone(),
|
forge_type: forge.forge_type.clone(),
|
||||||
hostname: Hostname(forge.hostname.clone()),
|
hostname: forge.hostname(),
|
||||||
user: User(forge.user.clone()),
|
user: forge.user(),
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue