Skip to content

Commit

Permalink
tfimport: minor log change (#794)
Browse files Browse the repository at this point in the history
  • Loading branch information
xingao267 authored Feb 10, 2021
1 parent ae83f30 commit 895c0ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/tfimport/tfimport.go
Original file line number Diff line number Diff line change
Expand Up @@ -729,7 +729,7 @@ func planAndImport(rn, importRn runner.Runner, runArgs *RunArgs, skipped map[str
}

if len(errs) > 0 {
return false, fmt.Errorf("failed to import %v resources:\n%v", len(errs), strings.Join(errs, "\n"))
return false, fmt.Errorf("failed to find or import %v resources. Use --verbose flag to see detailed error messages.\n%v", len(errs), strings.Join(errs, "\n"))
}

return false, nil
Expand Down

0 comments on commit 895c0ac

Please sign in to comment.