Skip to content

Commit

Permalink
test: removed dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonRichardson committed Jan 6, 2025
1 parent 3260dd4 commit 92c8e92
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 0 additions & 4 deletions apiserver/objects.go
Original file line number Diff line number Diff line change
Expand Up @@ -290,10 +290,6 @@ func modelIsImporting(st ModelState) (bool, error) {
return model.MigrationMode() == state.MigrationModeImporting, nil
}

func emitUnsupportedMethodErr(method string) error {
return jujuerrors.MethodNotAllowedf("unsupported method: %q", method)
}

type stateGetter struct {
authFunc func(*http.Request) (*state.PooledState, error)
}
Expand Down
3 changes: 2 additions & 1 deletion domain/application/state/state_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@ import (

"github.com/canonical/sqlair"
"github.com/juju/clock"
loggertesting "github.com/juju/juju/internal/logger/testing"
jc "github.com/juju/testing/checkers"
gc "gopkg.in/check.v1"

loggertesting "github.com/juju/juju/internal/logger/testing"
)

type stateSuite struct {
Expand Down

0 comments on commit 92c8e92

Please sign in to comment.