pull/50/head
parent
aff9419e1c
commit
f03e350e48
|
|
@ -84,6 +84,7 @@ class UpdateGitImageAction extends AbstractController
|
|||
'diskNumber' => $partition->getDiskNumber(),
|
||||
'partitionNumber' => $partition->getPartitionNumber(),
|
||||
'repositoryName' => $input->gitRepository,
|
||||
'options' => $input->options ? 'force push' : null,
|
||||
];
|
||||
}
|
||||
}
|
||||
|
|
@ -32,6 +32,10 @@ class UpdateGitImageInput
|
|||
public ?string $destinationBranch = null;
|
||||
|
||||
#[Groups(['git-repository:write'])]
|
||||
#[ApiProperty(description: 'Whether to queue the update', example: false)]
|
||||
#[ApiProperty(description: 'Whether to push the image to the Git repository', example: false)]
|
||||
public ?bool $options = null;
|
||||
|
||||
#[Groups(['git-repository:write'])]
|
||||
#[ApiProperty(description: 'Whether to queue the update for later', example: false)]
|
||||
public bool $queue = false;
|
||||
}
|
||||
Loading…
Reference in New Issue