Skip to content

Commit

Permalink
Minor Code Update
Browse files Browse the repository at this point in the history
Signed-off-by: “SanjuPal01” <sanju.sanju@progress.com>
  • Loading branch information
SanjuPal01 committed Oct 20, 2022
1 parent 3bd8d90 commit eb642d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/automate-cli/cmd/chef-automate/certRotate.go
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,6 @@ func addHostKey(host string, remote net.Addr, pubKey ssh.PublicKey) error {

knownHosts := knownhosts.Normalize(remote.String())
_, fileErr := f.WriteString(knownhosts.Line([]string{knownHosts}, pubKey))
f.WriteString("/n")
f.WriteString("\n")
return fileErr
}

0 comments on commit eb642d2

Please sign in to comment.