Skip to content

Add omitempty JSON attribute for some fields #11

Add omitempty JSON attribute for some fields

Add omitempty JSON attribute for some fields #11

Triggered via pull request March 19, 2025 22:32
Status Failure
Total duration 35s
Artifacts

validate.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

8 errors
lint: devices/config/device.go#L23
var-naming: struct field Uid should be UID (revive)
lint: config_linux.go#L67
var-naming: struct field CpuShares should be CPUShares (revive)
lint: config_linux.go#L70
var-naming: struct field CpuQuota should be CPUQuota (revive)
lint: config_linux.go#L76
var-naming: struct field CpuPeriod should be CPUPeriod (revive)
lint: config_linux.go#L79
var-naming: struct field CpuRtRuntime should be CPURtRuntime (revive)
lint: config_linux.go#L82
var-naming: struct field CpuRtPeriod should be CPURtPeriod (revive)
lint: config_linux.go#L141
var-naming: struct field CpuWeight should be CPUWeight (revive)
lint
Process completed with exit code 1.