Skip to content

Commit 86cadd6

Browse files
committed
Fixing conflicts
1 parent ceac017 commit 86cadd6

File tree

2 files changed

+0
-19
lines changed

2 files changed

+0
-19
lines changed

internal/pkg/agent/application/upgrade/upgrade.go

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -179,14 +179,6 @@ func checkUpgrade(log *logger.Logger, currentVersion, newVersion agentVersion, m
179179
return ErrUpgradeSameVersion
180180
}
181181

182-
<<<<<<< HEAD
183-
if currentVersion.fips && metadata.manifest.Package.Fips {
184-
return nil
185-
}
186-
187-
if !currentVersion.fips && !metadata.manifest.Package.Fips {
188-
return nil
189-
=======
190182
if currentVersion.fips && !metadata.manifest.Package.Fips {
191183
log.Warnf("Upgrade action skipped because FIPS-capable Agent cannot be upgraded to non-FIPS-capable Agent")
192184
return ErrFipsToNonFips
@@ -195,7 +187,6 @@ func checkUpgrade(log *logger.Logger, currentVersion, newVersion agentVersion, m
195187
if !currentVersion.fips && metadata.manifest.Package.Fips {
196188
log.Warnf("Upgrade action skipped because non-FIPS-capable Agent cannot be upgraded to FIPS-capable Agent")
197189
return ErrNonFipsToFips
198-
>>>>>>> ac9ee9a34 ([Integration Test] Ensure that upgrading a FIPS-capable Agent results in a FIPS-capable Agent (#7804))
199190
}
200191

201192
return ErrFipsNotUpgradedToFips

testing/upgradetest/upgrader.go

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -140,16 +140,6 @@ func WithCustomWatcherConfig(cfg string) UpgradeOpt {
140140
}
141141
}
142142

143-
<<<<<<< HEAD
144-
=======
145-
// WithServers will use start version with servers flavor.
146-
func WithServers() UpgradeOpt {
147-
return func(opts *UpgradeOpts) {
148-
opts.installServers = true
149-
}
150-
}
151-
152-
>>>>>>> ac9ee9a34 ([Integration Test] Ensure that upgrading a FIPS-capable Agent results in a FIPS-capable Agent (#7804))
153143
// WithDisableUpgradeWatcherUpgradeDetailsCheck disables any assertions for
154144
// upgrade details that are being set by the Upgrade Watcher. This option is
155145
// useful in upgrade tests where the end Agent version does not contain changes

0 commit comments

Comments
 (0)