mirror of
https://github.com/semaphoreui/semaphore.git
synced 2025-01-20 15:29:28 +01:00
feat(tf): to alias for terraform alias model
This commit is contained in:
parent
ecacb5f1af
commit
b24871cbbc
@ -15,3 +15,11 @@ var TerraformInventoryAliasProps = ObjectProps{
|
||||
Type: reflect.TypeOf(TerraformInventoryAlias{}),
|
||||
PrimaryColumnName: "id",
|
||||
}
|
||||
|
||||
func (alias TerraformInventoryAlias) ToAlias() Alias {
|
||||
return Alias{
|
||||
ID: alias.ID,
|
||||
Alias: alias.Alias,
|
||||
ProjectID: alias.ProjectID,
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user