Skip to content

fix: token update issue when status is not enabled

Codecov / codecov/patch failed Nov 20, 2024 in 0s

0.00% of diff hit (target 1.21%)

View this Pull Request on Codecov

0.00% of diff hit (target 1.21%)

Annotations

Check warning on line 222 in controller/token.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

controller/token.go#L218-L222

Added lines #L218 - L222 were not covered by tests

Check warning on line 231 in controller/token.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

controller/token.go#L229-L231

Added lines #L229 - L231 were not covered by tests

Check warning on line 245 in controller/token.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

controller/token.go#L238-L245

Added lines #L238 - L245 were not covered by tests

Check warning on line 259 in controller/token.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

controller/token.go#L258-L259

Added lines #L258 - L259 were not covered by tests

Check warning on line 37 in monitor/manage.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

monitor/manage.go#L37

Added line #L37 was not covered by tests

Check warning on line 35 in relay/adaptor/ollama/main.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

relay/adaptor/ollama/main.go#L34-L35

Added lines #L34 - L35 were not covered by tests

Check warning on line 125 in relay/adaptor/ollama/main.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

relay/adaptor/ollama/main.go#L125

Added line #L125 was not covered by tests