Skip to content

错误信息语法格式不当 #1336

Open
@IronCore864

Description

@IronCore864

return fmtp.Errorf("Error retriving enterprise projects %s", err)

  • 这个函数被huaweicloud_enterprise_project调用,应该是单数
  • 错误信息和err之间应该有逗号冒号之类的标点,只有空格很令人困惑
  • err首字母不应该大写
  • 句末应该有句号
  • retrieve拼写错误

现在的错误信息:

Error: Error retriving enterprise projects Authentication failed

正确的:

Error: Error retrieving enterprise project: authentication failed.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions