Skip to content
This repository was archived by the owner on Apr 17, 2023. It is now read-only.

Fixed hostname copied to clipboard on tags #1792

Merged
merged 1 commit into from
Apr 19, 2018

Conversation

vitoravelino
Copy link
Contributor

The internal hostname was being referring as the hostname to be copied
to the clipboard when the user clicked on the labeled tags. This patch
fixes that by checking if external hostname is set or not. If set,
external hostname will be used instead of internal hostname.

This change affects the API directly because the repository entity is
now using the #reacheable_hostname method that tried to prioritize the
external hostname if set.

Signed-off-by: Vítor Avelino vavelino@suse.com

Fixes #1719

@vitoravelino vitoravelino requested a review from mssola April 19, 2018 11:33
The internal hostname was being referring as the hostname to be copied
to the clipboard when the user clicked on the labeled tags. This patch
fixes that by checking if external hostname is set or not. If set,
external hostname will be used instead of internal hostname.

This change affects the API directly because the repository entity is
now using the #reacheable_hostname method that tried to prioritize the
external hostname if set.

Signed-off-by: Vítor Avelino <vavelino@suse.com>
@vitoravelino vitoravelino force-pushed the fix-clipboard-external-hostname branch from aa930db to 83b4b3a Compare April 19, 2018 11:36
@mssola mssola merged commit 0408d03 into SUSE:master Apr 19, 2018
@vitoravelino vitoravelino deleted the fix-clipboard-external-hostname branch April 20, 2018 13:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Copied pull command to clipboard with external dns name
2 participants