Skip to content

Commit

Permalink
Update pkg/agent/controller/packetcapture/packetcapture_controller.go
Browse files Browse the repository at this point in the history
Co-authored-by: Lan <luola@vmware.com>
  • Loading branch information
hangyan and luolanzone authored Oct 16, 2024
1 parent 4cb8e7c commit d6fd2d3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -612,7 +612,7 @@ func (c *Controller) uploadPackets(pc *crdv1alpha1.PacketCapture, outputFile afe
klog.V(2).InfoS("Uploading captured packets for PacketCapture", "name", pc.Name)
uploader, err := c.getUploaderByProtocol(sftpProtocol)
if err != nil {
return fmt.Errorf("failed to upload support bundle while getting uploader: %v", err)
return fmt.Errorf("failed to find a valid file server to upload captured packets: %v", err)
}
authConfig := getDefaultFileServerAuth()
serverAuth, err := ftp.ParseBundleAuth(*authConfig, c.kubeClient)
Expand Down

0 comments on commit d6fd2d3

Please sign in to comment.