adding more server/client communication commands, need to fix echo path params
This commit is contained in:
		@@ -40,7 +40,7 @@ func FindServer(serverName string, branchName string, conf *clientconfig.Gvcconf
 | 
			
		||||
		if serverName == remote.Name {
 | 
			
		||||
			fmt.Printf("Server found in config, connecting to: %s, host: %s, port: %d \n", remote.Name, remote.Host, remote.Port)
 | 
			
		||||
			port := ":" + strconv.Itoa(remote.Port)
 | 
			
		||||
			connectionString := "http://" + remote.Host + port //Create our connection string
 | 
			
		||||
			connectionString := "http://" + remote.Host + port + "/" + conf.RepoName //Create our connection string //'http://server:port/:repo' //TODO, what about admin commands for entire server management, not just one repo?
 | 
			
		||||
			fmt.Println("Generated connection string: ", connectionString)
 | 
			
		||||
			return connectionString, nil
 | 
			
		||||
		}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user