mirror of
https://gitlab.com/fabinfra/fabaccess/bffh.git
synced 2024-11-26 00:24:55 +01:00
Also set URN and wiki links on machine lists
This commit is contained in:
parent
7bcb0712ae
commit
80df913089
@ -78,6 +78,10 @@ impl machines::Server for Machines {
|
|||||||
if let Some(ref desc) = machine.desc.description {
|
if let Some(ref desc) = machine.desc.description {
|
||||||
builder.set_description(desc);
|
builder.set_description(desc);
|
||||||
}
|
}
|
||||||
|
if let Some(ref wiki) = machine.desc.wiki {
|
||||||
|
builder.set_wiki(wiki);
|
||||||
|
}
|
||||||
|
builder.set_urn(&format!("urn:fabaccess:resource:{}", &name));
|
||||||
|
|
||||||
let machineapi = Machine::new(user.clone(), perms, machine.clone());
|
let machineapi = Machine::new(user.clone(), perms, machine.clone());
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user