Skip to content

Commit

Permalink
Merge pull request #107 from jonstacks/fix-find-or-create-tunnel-grou…
Browse files Browse the repository at this point in the history
…p-backend

Fix for finding or creating tunnel group backends
  • Loading branch information
jonstacks authored Jan 17, 2023
2 parents 773ed07 + d321877 commit df440d6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion internal/controllers/httpsedge_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,11 @@ func (r *tunnelGroupBackendReconciler) findOrCreate(ctx context.Context, backend
}
}

be, err := r.client.Create(ctx, &ngrok.TunnelGroupBackendCreate{})
be, err := r.client.Create(ctx, &ngrok.TunnelGroupBackendCreate{
Description: backend.Description,
Metadata: backend.Metadata,
Labels: backend.Labels,
})
if err != nil {
return nil, err
}
Expand Down

0 comments on commit df440d6

Please sign in to comment.