Skip to content

Commit

Permalink
failfast
Browse files Browse the repository at this point in the history
  • Loading branch information
kellerza committed May 25, 2021
1 parent 8441f0a commit a2d5375
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion clab/config/ssh.go
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ func (t *SshTransport) Write(snip *ConfigSnippet) error {
r = t.Run(l, 5)
if r.result != "" {
r.Infof(snip.TargetNode.ShortName)
log.Errorf("%s: Aborting deployment...", snip.TargetNode.ShortName)
}
}

Expand Down Expand Up @@ -360,7 +361,7 @@ func (sk *VrSrosSshKind) ConfigStart(s *SshTransport, node string, transaction b
if transaction {
cc := s.Run("/configure global", 5)
if cc.result != "" {
cc.Infof(node)
cc.Infof("%s /config global", node)
}
cc = s.Run("discard", 1)
if cc.result != "" {
Expand Down

0 comments on commit a2d5375

Please sign in to comment.