You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by de...@apache.org on 2017/04/20 19:21:56 UTC
[3/4] incubator-trafficcontrol git commit: change extension to pg_dump
change extension to pg_dump
Project: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/commit/65d6d318
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/tree/65d6d318
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/diff/65d6d318
Branch: refs/heads/master
Commit: 65d6d318442318514d2b1f03a5c1c5a21d690a96
Parents: 524728d
Author: Derek Gelinas <de...@cable.comcast.com>
Authored: Thu Apr 20 15:08:59 2017 -0400
Committer: Dewayne Richardson <de...@apache.org>
Committed: Thu Apr 20 13:21:41 2017 -0600
----------------------------------------------------------------------
traffic_ops/app/lib/API/Database.pm | 2 +-
traffic_ops/app/lib/UI/Tools.pm | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/65d6d318/traffic_ops/app/lib/API/Database.pm
----------------------------------------------------------------------
diff --git a/traffic_ops/app/lib/API/Database.pm b/traffic_ops/app/lib/API/Database.pm
index 3428606..caf6598 100644
--- a/traffic_ops/app/lib/API/Database.pm
+++ b/traffic_ops/app/lib/API/Database.pm
@@ -61,7 +61,7 @@ sub get_filename {
my $host = `hostname`;
chomp($host);
- my $extension = ".dump";
+ my $extension = ".pg_dump";
my $filename = "to-backup-" . $host . "-" . $year . $month . $day . $hour . $min . $sec . $extension;
return $filename;
}
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/65d6d318/traffic_ops/app/lib/UI/Tools.pm
----------------------------------------------------------------------
diff --git a/traffic_ops/app/lib/UI/Tools.pm b/traffic_ops/app/lib/UI/Tools.pm
index 9af157c..3ab70c1 100644
--- a/traffic_ops/app/lib/UI/Tools.pm
+++ b/traffic_ops/app/lib/UI/Tools.pm
@@ -153,7 +153,7 @@ sub db_dump {
my $host = `hostname`;
chomp($host);
- my $extension = ".dump";
+ my $extension = ".pg_dump";
my $filename = "to-backup-" . $host . "-" . $year . $month . $day . $hour . $min . $sec . $extension;
$self->stash( filename => $filename );
&stash_role($self);