Commit Graph
9 Commits
Author SHA1 Message Date
Joshua Spence 8f8e19eb2a Don't commit intermediate files
Don't commit the extracted JSON files as well only need the generated `*.generated.go` files.
2021-08-11 11:40:15 +10:00
Joshua SpenceandPaul Tyng f06d3401ae Run go generate 2021-06-29 17:43:00 -04:00
Joshua SpenceandPaul Tyng 510bd417c2 Add generate job 2021-06-29 17:43:00 -04:00
Joshua SpenceandPaul Tyng 693795b5f0 Fix failing test 2021-06-29 17:43:00 -04:00
Joshua SpenceandPaul Tyng 64a73cdd4b Fix linter issues 2021-06-29 17:43:00 -04:00
Joshua SpenceandPaul Tyng 496fcdf07c Add GitHub Actions 2021-06-29 17:43:00 -04:00
Joshua SpenceandPaul Tyng 0f7cae7373 Mark generated files
Hide generated files from diffs in the GitHub UI (see https://docs.github.com/en/github/administering-a-repository/managing-repository-settings/customizing-how-changed-files-appear-on-github).
2021-06-29 17:40:41 -04:00
Joshua SpenceandPaul Tyng 2f7eee3a6a Add dev_id_override to user 2021-06-18 15:39:41 -04:00
Joshua SpenceandPaul Tyng dd685c0447 Fix type of x_ssh_keys
The `unifi_settings_mgmt` resource fails for me with the following error:

```
Error: unable to decode body: GET s/default/get/setting/mgmt unable to unmarshal alias: json: cannot unmarshal object into Go struct field .x_ssh_keys of type string
```

My `x_ssh_keys` looks like this:

```
[
  {
    "name": "Laptop",
    "type": "ssh-rsa",
    "key": "REDACTED",
    "comment": "REDACTED",
    "date": "2021-02-25T08:26:04Z",
    "fingerprint": "REDACTED"
  }
]
```
2021-06-16 09:28:49 -04:00