[Title] BuildCommServer create method use @port
authorjiil.hyoun <jiil.hyoun@samsung.com>
Wed, 26 Dec 2012 09:48:53 +0000 (18:48 +0900)
committerjiil.hyoun <jiil.hyoun@samsung.com>
Wed, 26 Dec 2012 09:48:53 +0000 (18:48 +0900)
[Type] Bugfix
[Module] Toolchain /
[Priority] Minor
[Jira#]
[Redmine#] 7872
[Problem]
[Cause] @port is not initialized
[Solution]
[TestCase]

Change-Id: I3f084e2f164ff39aa9418f46959779e78c16b132

src/common/BuildComm.rb

index 8d0a358cd9e6f89fce715ed987367eb175bbe345..f80a9e24a6aefa656078800a29148eb9c429966e 100644 (file)
@@ -55,7 +55,7 @@ class BuildCommServer
        def self.create(port, log, ftp_url=nil, cache_dir=nil)
                # checking port is  available
                if port_open? port then
-                       raise "Port \"#{@port}\" is already in use."
+                       raise "Port \"#{port}\" is already in use."
                end
 
                if log.nil? then