Skip to content

Commit

Permalink
Fix for finding or creating tunnel group backends
Browse files Browse the repository at this point in the history
  • Loading branch information
jonstacks committed Jan 16, 2023
1 parent 773ed07 commit d321877
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 d321877

Please sign in to comment.