Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

variables and tables comparison broken for ApplicationService

Open
#248 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
50/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Stale
Tech stack
python
Domain
backend

Research direction

Open f5_cccl/resource/ltm/app_service.py at line 62 and inspect ApplicationService equality handling for variables and tables. Reproduce comparisons where the lists have different lengths, then run the relevant project tests and confirm the update scenario no longer fails when the other list is shorter.

Written by the indexing model from the issue text.

Description

the comparison of the variables and tables in the ApplicationService in the equality operator is broken when the length of the lists change:
https://github.com/f5devcentral/f5-cccl/blob/master/f5_cccl/resource/ltm/app_service.py#L62

        if not all(v in self._data['variables']
                   for v in other.data['variables']):

This comparison will fail when the other list is shorter than the self list.
This breaks the for example update using the k8s-bigipcontroller see https://github.com/F5Networks/k8s-bigip-ctlr/issues/1038

Dominant language
Python
Stars
13
Forks
48
Avg merge
3d 1h
Merged PRs (30d)
1

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from f5devcentral/f5-cccl

All issues in f5devcentral/f5-cccl

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.