Skip to content

Commit e51c3ec

Browse files
authored
Merge pull request #9 from Rwatana/master
Modify the time from 10sec to 60sec to wait creating of VM
2 parents bfdbdae + 5f779cd commit e51c3ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

proxmox/task.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const (
1414
)
1515

1616
func (s *Service) MustGetTask(ctx context.Context, node string, upid string) (*api.Task, error) {
17-
for i := 0; i < 10; i++ {
17+
for i := 0; i < 60; i++ {
1818
task, err := s.restclient.GetTask(ctx, node, upid)
1919
if err != nil {
2020
if rest.IsNotFound(err) {

0 commit comments

Comments
 (0)