You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by mi...@apache.org on 2020/04/13 14:13:29 UTC

[trafficcontrol] branch master updated: Cast InstallUtils::readJson()'s return value to hash type (#4631)

This is an automated email from the ASF dual-hosted git repository.

mitchell852 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficcontrol.git


The following commit(s) were added to refs/heads/master by this push:
     new 7d1b23e  Cast InstallUtils::readJson()'s return value to hash type (#4631)
7d1b23e is described below

commit 7d1b23ed6ba72136cb88f7313a5cca11d3fb9f00
Author: Zach Hoffman <za...@zrhoffman.net>
AuthorDate: Mon Apr 13 08:13:19 2020 -0600

    Cast InstallUtils::readJson()'s return value to hash type (#4631)
---
 traffic_ops/install/bin/_postinstall | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/traffic_ops/install/bin/_postinstall b/traffic_ops/install/bin/_postinstall
index 0c6b398..e56498d 100755
--- a/traffic_ops/install/bin/_postinstall
+++ b/traffic_ops/install/bin/_postinstall
@@ -894,7 +894,7 @@ sub main {
         errorOut("File '$inputFile' not found") if ( !-f $inputFile );
 
         # read and store the input file
-        %userInput = InstallUtils::readJson($inputFile);
+        %userInput = %{InstallUtils::readJson($inputFile)};
     }
 
     # sanity check the defaults if running them automatically