mirror of
https://github.com/gravitational/teleport.git
synced 2026-09-24 16:17:11 +08:00
Update deadlinks for tbot configuration migration (#59351)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user