diff --git a/.gitignore b/.gitignore index 0940ac34..8b680efb 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ # https://help.github.com/articles/ignoring-files/#create-a-global-gitignore gofish +bin/* diff --git a/bin/golangci-lint.exe b/bin/golangci-lint.exe new file mode 100644 index 00000000..4f4e872f Binary files /dev/null and b/bin/golangci-lint.exe differ diff --git a/examples/change_login.go b/examples/change_login.go index 12fb70d2..4a909d88 100644 --- a/examples/change_login.go +++ b/examples/change_login.go @@ -42,7 +42,7 @@ func main() { if account.UserName == username { payload := make(map[string]string) payload["UserName"] = "new-username" - // New password must follow the rules set in AccountService : + // New password must follow the rules set in AccountService : // MinPasswordLength and MaxPasswordLength payload["Password"] = "new-password" res, err := c.Patch(account.ODataID, payload) diff --git a/redfish/manager.go b/redfish/manager.go index 49631a1a..3a8dd921 100644 --- a/redfish/manager.go +++ b/redfish/manager.go @@ -401,6 +401,6 @@ func (manager *Manager) EthernetInterfaces() ([]*EthernetInterface, error) { } // LogServices get this manager's log services on this system. -func (manager *Manager) LogServices()([]*LogService, error) { +func (manager *Manager) LogServices() ([]*LogService, error) { return ListReferencedLogServices(manager.Client, manager.logServices) }