Skip to content

Commit da3e372

Browse files
committed
Remove unused view messages
1 parent 14ba3e7 commit da3e372

File tree

1 file changed

+0
-27
lines changed

1 file changed

+0
-27
lines changed

internal/command/views/init.go

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -202,18 +202,10 @@ var MessageRegistry map[InitMessageCode]InitMessage = map[InitMessageCode]InitMe
202202
HumanValue: dependenciesLockChangesInfo,
203203
JSONValue: dependenciesLockChangesInfo,
204204
},
205-
"dependencies_lock_pending_changes_info": {
206-
HumanValue: dependenciesLockPendingChangesInfo,
207-
JSONValue: dependenciesLockPendingChangesInfo,
208-
},
209205
"lock_info": {
210206
HumanValue: previousLockInfoHuman,
211207
JSONValue: previousLockInfoJSON,
212208
},
213-
"pending_lock_info": {
214-
HumanValue: pendingLockInfoHuman,
215-
JSONValue: pendingLockInfoJSON,
216-
},
217209
"provider_already_installed_message": {
218210
HumanValue: "- Using previously-installed %s v%s",
219211
JSONValue: "%s v%s: Using previously-installed provider version",
@@ -294,8 +286,6 @@ const (
294286

295287
InitializingProviderPluginFromConfigMessage InitMessageCode = "initializing_provider_plugin_from_config_message"
296288
InitializingProviderPluginFromStateMessage InitMessageCode = "initializing_provider_plugin_from_state_message"
297-
PendingLockInfo InitMessageCode = "pending_lock_info"
298-
DependenciesLockPendingChangesInfo InitMessageCode = "dependencies_lock_pending_changes_info"
299289
ReusingVersionIdentifiedFromConfig InitMessageCode = "reusing_version_during_state_provider_init"
300290

301291
// InitConfigError indicates problems encountered during initialisation
@@ -394,34 +384,17 @@ selections it made above. Include this file in your version control repository
394384
so that Terraform can guarantee to make the same selections by default when
395385
you run "terraform init" in the future.`
396386

397-
const pendingLockInfoHuman = `
398-
Terraform will create a lock file [bold].terraform.lock.hcl[reset] to record the provider
399-
selections it made above. Include this file in your version control repository
400-
so that Terraform can guarantee to make the same selections by default when
401-
you run "terraform init" in the future.`
402-
403387
const previousLockInfoJSON = `
404388
Terraform has created a lock file .terraform.lock.hcl to record the provider
405389
selections it made above. Include this file in your version control repository
406390
so that Terraform can guarantee to make the same selections by default when
407391
you run "terraform init" in the future.`
408392

409-
const pendingLockInfoJSON = `
410-
Terraform will create a lock file .terraform.lock.hcl to record the provider
411-
selections it made above. Include this file in your version control repository
412-
so that Terraform can guarantee to make the same selections by default when
413-
you run "terraform init" in the future.`
414-
415393
const dependenciesLockChangesInfo = `
416394
Terraform has made some changes to the provider dependency selections recorded
417395
in the .terraform.lock.hcl file. Review those changes and commit them to your
418396
version control system if they represent changes you intended to make.`
419397

420-
const dependenciesLockPendingChangesInfo = `
421-
Terraform has pending changes to make to the provider dependency selections recorded
422-
in the .terraform.lock.hcl file. These will be persisted once the final set of dependencies
423-
are determined.`
424-
425398
const partnerAndCommunityProvidersInfo = "\nPartner and community providers are signed by their developers.\n" +
426399
"If you'd like to know more about provider signing, you can read about it here:\n" +
427400
"https://developer.hashicorp.com/terraform/cli/plugins/signing"

0 commit comments

Comments
 (0)