You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by sm...@apache.org on 2014/07/01 00:57:08 UTC

[29/50] [abbrv] git commit: Adding a timestamp to avoid duplicate names

Adding a timestamp to avoid duplicate names


Project: http://git-wip-us.apache.org/repos/asf/airavata/repo
Commit: http://git-wip-us.apache.org/repos/asf/airavata/commit/277b4672
Tree: http://git-wip-us.apache.org/repos/asf/airavata/tree/277b4672
Diff: http://git-wip-us.apache.org/repos/asf/airavata/diff/277b4672

Branch: refs/heads/master
Commit: 277b467256065de0fc4c64ed1b51034601a0d5eb
Parents: e1f5140
Author: marpierc <ma...@iu.edu>
Authored: Tue May 27 10:55:09 2014 -0400
Committer: marpierc <ma...@iu.edu>
Committed: Tue May 27 10:55:09 2014 -0400

----------------------------------------------------------------------
 client-samples/add-compute-resources.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/277b4672/client-samples/add-compute-resources.php
----------------------------------------------------------------------
diff --git a/client-samples/add-compute-resources.php b/client-samples/add-compute-resources.php
index 7eae312..0413903 100644
--- a/client-samples/add-compute-resources.php
+++ b/client-samples/add-compute-resources.php
@@ -53,7 +53,7 @@ echo "Add Compute Resources.... "."\n";
 
 $id_list = $airavataclient->listComputeResourceDescriptions();
 $compute_resource = new ComputeResourceDescription();
-$compute_resource->hostName="test-stampede-host";
+$compute_resource->hostName="test-stampede-host"."-".time();
 $compute_resource->hostAliases=array("stampede");
 $compute_resource->ipAddresses=array("stampede.tacc.xsede.org");
 $compute_resource->isEmpty=false;