Skip to content

Commit

Permalink
GH-413: fix parsing of plug-in cfg
Browse files Browse the repository at this point in the history
dds-ssh-plugin: Fixed: ssh cfg parser is passing cfg files of all plug-ins. (GH-413)
  • Loading branch information
AnarManafov committed Feb 17, 2022
1 parent 137314f commit e9bf4aa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions ReleaseNotes.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ Added: Users can specify a GroupName tag for each submission. This tag will be a
### dds-topology
Added: A new groupName requirement. It can be used on task and collection. (GH-407)

### dds-ssh-plugin
Fixed: ssh cfg parser is passing cfg files of all plug-ins. (GH-413)

## v3.6 (2022-01-11)

### DDS common
Expand Down
3 changes: 2 additions & 1 deletion dds-commander/src/ConnectionManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1000,8 +1000,9 @@ void CConnectionManager::submitAgents(const dds::tools_api::SSubmitRequestData&

// Create / re-pack WN package
// Include inline script if present
// Only the ssh plug-in supports it.
string inlineShellScripCmds;
if (!_submitInfo.m_config.empty())
if (_submitInfo.m_rms == "ssh" && !_submitInfo.m_config.empty())
{
inlineShellScripCmds = CSSHConfigFile(_submitInfo.m_config).getBash();
LOG(info)
Expand Down

0 comments on commit e9bf4aa

Please sign in to comment.