|
|
@@ -166,7 +166,7 @@ public class DeployApp {
|
|
|
} else {
|
|
|
String mgrConfig = remoteAgentConfig.getMgrConfig();
|
|
|
String mgrConfigPath = String.format("%s/%s", localDir, "bntweb.yml");
|
|
|
- textFile.write(new File(mgrConfig), mgrConfigPath);
|
|
|
+ textFile.write(new File(mgrConfigPath), mgrConfig);
|
|
|
}
|
|
|
|
|
|
Result result = sftp.deploy(localDir, remoteDir, remoteHost);
|