Skip to content

Commit 18b711b

Browse files
committed
Merge branch 'release-v5.9.1'
2 parents bc8c6fa + 7df2fe2 commit 18b711b

File tree

4 files changed

+11
-8
lines changed

4 files changed

+11
-8
lines changed

.github/workflows/mattermost-ziti-webhook.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,14 @@ on:
1010
push:
1111
fork:
1212
release:
13+
workflow_dispatch:
1314

1415
jobs:
1516
mattermost-ziti-webhook:
16-
runs-on: macos-latest
17+
runs-on: ubuntu-latest
1718
name: POST Webhook
1819
steps:
19-
- uses: openziti/ziti-webhook-action@v0.1.7
20+
- uses: openziti/ziti-webhook-action@v2
2021
if: ${{ env.ZITI_MATTERMOST_WEBHOOK_URL != null }}
2122
env:
2223
ZITI_MATTERMOST_WEBHOOK_URL: ${{ secrets.ZITI_MATTERMOST_WEBHOOK_URL }}

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -363,3 +363,4 @@ typescript*.*
363363

364364
/*.json
365365
/*.jwt
366+
.eggs/

netfoundry/utility.py

+6-6
Original file line numberDiff line numberDiff line change
@@ -319,13 +319,13 @@ def find_generic_resources(url: str, headers: dict, embedded: str = None, proxie
319319
elif resource_type.name in ["process-executions"]:
320320
params['beta'] = str()
321321

322-
for param in kwargs.keys():
323-
if param == 'name' and resource_type.name == 'networks': # workaround sort param bug in MOP-17863
324-
params['findByName'] = param
325-
elif param == 'networkGroupId' and resource_type.name == 'network-groups':
326-
params['findByNetworkGroupId'] = param
322+
for k, v in kwargs.items():
323+
if k == 'name' and resource_type.name == 'networks': # workaround sort param bug in MOP-17863
324+
params['findByName'] = v
325+
elif k == 'networkGroupId' and resource_type.name in ['networks', 'network-groups']:
326+
params['findByNetworkGroupId'] = v
327327
else:
328-
params[param] = kwargs[param]
328+
params[k] = v
329329

330330
# normalize output with a default sort param
331331
if not params.get('sort'):

setup.cfg

+1
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ setup_requires =
3737

3838
[bdist_wheel]
3939
universal = 1
40+
python_tag = py3
4041

4142
[options.package_data]
4243
netfoundry = friendly-words/generated/words.json

0 commit comments

Comments
 (0)