mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-09 21:59:42 -06:00
Fix import order and remove debug log
This commit is contained in:
@@ -4,8 +4,6 @@ import (
|
||||
"context"
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
settings "github.com/owncloud/ocis-settings/pkg/proto/v0"
|
||||
settings_svc "github.com/owncloud/ocis-settings/pkg/service/v0"
|
||||
"io/ioutil"
|
||||
"os"
|
||||
"path/filepath"
|
||||
@@ -22,6 +20,8 @@ import (
|
||||
"github.com/owncloud/ocis-accounts/pkg/proto/v0"
|
||||
"github.com/owncloud/ocis-accounts/pkg/provider"
|
||||
"github.com/owncloud/ocis-pkg/v2/roles"
|
||||
settings "github.com/owncloud/ocis-settings/pkg/proto/v0"
|
||||
settings_svc "github.com/owncloud/ocis-settings/pkg/service/v0"
|
||||
"github.com/rs/zerolog"
|
||||
"github.com/tredoe/osutil/user/crypt"
|
||||
"google.golang.org/genproto/protobuf/field_mask"
|
||||
|
||||
@@ -62,9 +62,6 @@ func New(opts ...Option) (s *Service, err error) {
|
||||
if s.index, err = s.buildIndex(); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
fmt.Print("\n\n\n")
|
||||
fmt.Print(s.index)
|
||||
fmt.Print("\n\n\n")
|
||||
|
||||
// create default accounts
|
||||
accountsDir := filepath.Join(cfg.Server.AccountsDataPath, "accounts")
|
||||
|
||||
Reference in New Issue
Block a user