Skip to content

Commit

Permalink
Fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
michel-laterman committed Nov 22, 2024
1 parent c349511 commit 9da083e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/pkg/agent/install/uninstall.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ func Uninstall(ctx context.Context, cfgFile, topPath, uninstallToken string, log
// Once the root-cause is identified then this can be re-enabled on Windows.
// Notify fleet-server while it is still running if it's running locally
if notifyFleet && localFleet && runtime.GOOS != "windows" {
if cfg.Fleet.Client.Transport != nil {
if cfg.Fleet.Client.Transport.TLS != nil {
cfg.Fleet.Client.Transport.TLS.VerificationMode = tlscommon.VerifyCertificate
}
cfg.Fleet.Client.Hosts = []string{cfg.Fleet.Client.Host}
Expand Down

0 comments on commit 9da083e

Please sign in to comment.