You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by GitBox <gi...@apache.org> on 2018/07/16 14:37:03 UTC

[GitHub] dangogh closed pull request #2543: preserve the description of the source profile when cloning a profile

dangogh closed pull request #2543: preserve the description of the source profile when cloning a profile
URL: https://github.com/apache/trafficcontrol/pull/2543
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/traffic_ops/app/lib/API/Profile.pm b/traffic_ops/app/lib/API/Profile.pm
index 4b3253407..358c630eb 100644
--- a/traffic_ops/app/lib/API/Profile.pm
+++ b/traffic_ops/app/lib/API/Profile.pm
@@ -281,7 +281,7 @@ sub copy {
 		return $self->alert("profile_copy_from $profile_copy_from_name doesn't exist.");
 	}
 	my $profile_copy_from_id = $row1->id;
-	my $description          = "";
+	my $description          = $row1->description;
 
 	my $cdn = $row1->cdn;
 	my $type = $row1->type;


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services