Skip to content

Commit

Permalink
fix network policies (#69)
Browse files Browse the repository at this point in the history
Fix cli for network policy
  • Loading branch information
DerCoop authored and antechrestos committed Dec 6, 2019
1 parent 2b69677 commit 3defa42
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main/cloudfoundry_client/main/main.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python3
import argparse
import json
import logging
Expand Down Expand Up @@ -170,7 +170,7 @@ def main():
commands = [
CommandDomain(display_name='Organizations', entity_name='organization',
api_version='v3',
filter_list_parameters=[], allow_retrieve_by_name=True,
filter_list_parameters=['names', 'guids'], allow_retrieve_by_name=True,
allow_creation=True, allow_deletion=True),
CommandDomain(display_name='Spaces', entity_name='space', filter_list_parameters=['organization_guid'],
allow_retrieve_by_name=True, allow_creation=True, allow_deletion=True),
Expand All @@ -196,7 +196,7 @@ def main():
allow_retrieve_by_name=False, allow_creation=True, allow_deletion=True),
CommandDomain(display_name='Buildpacks', entity_name='buildpack',
api_version='v3',
filter_list_parameters=[], allow_retrieve_by_name=True,
filter_list_parameters=['names', 'stacks'], allow_retrieve_by_name=True,
allow_creation=True, allow_deletion=True),
CommandDomain(display_name='Domains', entity_name='domain',
api_version='v3',
Expand Down
Empty file.
Empty file.
Empty file.

0 comments on commit 3defa42

Please sign in to comment.