Compare commits
	
		
			3 Commits
		
	
	
		
			fix_cc
			...
			fix_public
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| c7e8c2ec27 | |||
| 4da0f88978 | |||
| c7558639bb | 
@ -1,5 +1,4 @@
 | 
				
			|||||||
---
 | 
					---
 | 
				
			||||||
html_location: docs/cc/api-ref
 | 
					 | 
				
			||||||
link: /cloud-create/api-ref/
 | 
					link: /cloud-create/api-ref/
 | 
				
			||||||
pdf_name: cc-api-ref
 | 
					pdf_name: cc-api-ref
 | 
				
			||||||
rst_location: api-ref/source
 | 
					rst_location: api-ref/source
 | 
				
			||||||
 | 
				
			|||||||
@ -246,12 +246,19 @@ class Services(object):
 | 
				
			|||||||
                    x for x in srv["teams"] if x["permission"] == "write"
 | 
					                    x for x in srv["teams"] if x["permission"] == "write"
 | 
				
			||||||
                ]
 | 
					                ]
 | 
				
			||||||
            if "repositories" in srv and environment:
 | 
					            if "repositories" in srv and environment:
 | 
				
			||||||
 | 
					                internal_exists = False
 | 
				
			||||||
                for repo in srv["repositories"]:
 | 
					                for repo in srv["repositories"]:
 | 
				
			||||||
                    if (
 | 
					                    if (
 | 
				
			||||||
                        "environment" in repo
 | 
					                        "environment" in repo
 | 
				
			||||||
                        and repo["environment"] == environment
 | 
					                        and repo["environment"] == environment
 | 
				
			||||||
                    ):
 | 
					                    ):
 | 
				
			||||||
                        srv_res["repository"] = repo["repo"]
 | 
					                        srv_res["repository"] = repo["repo"]
 | 
				
			||||||
 | 
					                        if repo["environment"] == "internal":
 | 
				
			||||||
 | 
					                            internal_exists = True
 | 
				
			||||||
 | 
					                # internal repo does not exist
 | 
				
			||||||
 | 
					                # service will be left out from metadata.yaml
 | 
				
			||||||
 | 
					                if not internal_exists:
 | 
				
			||||||
 | 
					                    continue
 | 
				
			||||||
            for doc in self.all_docs:
 | 
					            for doc in self.all_docs:
 | 
				
			||||||
                if (
 | 
					                if (
 | 
				
			||||||
                    "html_location" in doc
 | 
					                    "html_location" in doc
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user