|
|
@ -38,6 +38,7 @@ func (s SwampFileService) getOrCreateNs(namespace_in string) *namespace.Namespac
|
|
|
|
time.Now(),
|
|
|
|
time.Now(),
|
|
|
|
s.default_allowance_duration,
|
|
|
|
s.default_allowance_duration,
|
|
|
|
namespace.FileSizeQuota{s.default_allowance_bytes, 0},
|
|
|
|
namespace.FileSizeQuota{s.default_allowance_bytes, 0},
|
|
|
|
|
|
|
|
namespace.Usage{0, 0, 0, 0},
|
|
|
|
}
|
|
|
|
}
|
|
|
|
created_ns, err := s.namespace_repo.Create(new_ns)
|
|
|
|
created_ns, err := s.namespace_repo.Create(new_ns)
|
|
|
|
|
|
|
|
|
|
|
|