mirror of
https://github.com/rocky-linux/peridot.git
synced 2024-12-21 02:08:29 +00:00
allow peridot project to specify a build pool type in additional to build pool architecture
Signed-off-by: mystic knight <techguru@byiq.com>
This commit is contained in:
parent
fdc848b847
commit
e9e3cb54e7
@ -201,7 +201,7 @@ func (a *Access) CreateProject(project *peridotpb.Project) (*models.Project, err
|
||||
TargetVendor: project.TargetVendor,
|
||||
AdditionalVendor: project.AdditionalVendor.Value,
|
||||
Archs: project.Archs,
|
||||
BuildPoolType: project.BuildPoolType,
|
||||
BuildPoolType: utils.StringValueToNullString(project.BuildPoolType),
|
||||
FollowImportDist: project.FollowImportDist,
|
||||
BranchSuffix: utils.StringValueToNullString(project.BranchSuffix),
|
||||
GitMakePublic: project.GitMakePublic,
|
||||
@ -268,7 +268,7 @@ func (a *Access) UpdateProject(id string, project *peridotpb.Project) (*models.P
|
||||
TargetVendor: project.TargetVendor,
|
||||
AdditionalVendor: project.AdditionalVendor.Value,
|
||||
Archs: project.Archs,
|
||||
BuildPoolType: project.BuildPoolType.Value,
|
||||
BuildPoolType: utils.StringValueToNullString(project.BuildPoolType),
|
||||
FollowImportDist: project.FollowImportDist,
|
||||
BranchSuffix: utils.StringValueToNullString(project.BranchSuffix),
|
||||
GitMakePublic: project.GitMakePublic,
|
||||
|
Loading…
Reference in New Issue
Block a user