We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4e4e24 commit cdc618eCopy full SHA for cdc618e
pkg/crc/ssh/keys.go
@@ -127,6 +127,10 @@ func RemoveCRCHostEntriesFromKnownHosts() error {
127
}
128
129
130
+ if err := scanner.Err(); err != nil {
131
+ return fmt.Errorf("Error while reading content from known_hosts file: %w", err)
132
+ }
133
+
134
if err := writer.Flush(); err != nil {
135
return fmt.Errorf("Error while flushing buffered content to temp file: %w", err)
136
0 commit comments