Skip to content

Commit

Permalink
fix: wrong logic changed from golangci-lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
orangedeng committed Oct 28, 2024
1 parent 99f81b4 commit f548372
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/airgap/file_scp.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ func ScpFiles(logger *logrus.Logger, clusterName string, pkg *common.Package, di
if err != nil {
return err
}
if ValidatedArch[arch] {
if !ValidatedArch[arch] {
return errors.Wrapf(errArchNotSupport, "remote server arch: %s", arch)
}
if !pkg.Archs.Contains(arch) {
Expand Down

0 comments on commit f548372

Please sign in to comment.