Update deadlinks for tbot configuration migration (#59351)

This commit is contained in:
Noah Stride
2025-09-19 12:56:08 +00:00
committed by GitHub
parent 68f2377360
commit ed43f1bdba
+2 -2
View File
@@ -588,7 +588,7 @@ func ReadConfig(reader io.ReadSeeker, manualMigration bool) (*BotConfig, error)
case V1, "":
if !manualMigration {
log.WarnContext(
context.TODO(), "Deprecated config version (V1) detected. Attempting to perform an on-the-fly in-memory migration to latest version. Please persist the config migration by following the guidance at https://goteleport.com/docs/reference/machine-id/v14-upgrade-guide/")
context.TODO(), "Deprecated config version (V1) detected. Attempting to perform an on-the-fly in-memory migration to latest version. Please persist the config migration using `tbot migrate`.")
}
config := &configV1{}
if err := decoder.Decode(config); err != nil {
@@ -598,7 +598,7 @@ func ReadConfig(reader io.ReadSeeker, manualMigration bool) (*BotConfig, error)
if err != nil {
return nil, trace.WithUserMessage(
trace.Wrap(err, "migrating v1 config"),
"Failed to migrate. See https://goteleport.com/docs/reference/machine-id/v14-upgrade-guide/",
"Failed to migrate. Please contact Teleport support or use https://goteleport.com/docs/reference/machine-id/configuration/ to manually migrate your configuration.",
)
}
return latestConfig, nil