potiuk commented on a change in pull request #12837:
URL: https://github.com/apache/airflow/pull/12837#discussion_r537085289



##########
File path: airflow/providers/docker/hooks/docker.py
##########
@@ -39,6 +40,20 @@ class DockerHook(BaseHook, LoggingMixin):
     conn_type = 'docker'
     hook_name = 'Docker Registry'
 
+    @staticmethod
+    def get_custom_fields() -> Dict:
+        return {
+            "hidden_fields": ['port', 'schema'],

Review comment:
       Ups. Good eye. That was a mistake in the original js:
   
   ```
       docker: {
         hidden_fields: ['port', 'schema'],
         relabeling: {
           'host': 'Registry URL',
           'login': 'Username',
         },
       },
   ```
    




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to