UI branding: use the short name on the login pages

Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
Nicola Murino
2022-05-15 07:30:36 +02:00
parent d2f4edcdb6
commit c9bd08cf9c
11 changed files with 13 additions and 10 deletions

View File

@@ -766,7 +766,7 @@ func (*AzureBlobFs) Close() error {
return nil
}
// GetAvailableDiskSize return the available size for the specified path
// GetAvailableDiskSize returns the available size for the specified path
func (*AzureBlobFs) GetAvailableDiskSize(dirName string) (*sftp.StatVFS, error) {
return nil, ErrStorageSizeUnavailable
}

View File

@@ -831,7 +831,7 @@ func (fs *GCSFs) Close() error {
return nil
}
// GetAvailableDiskSize return the available size for the specified path
// GetAvailableDiskSize returns the available size for the specified path
func (*GCSFs) GetAvailableDiskSize(dirName string) (*sftp.StatVFS, error) {
return nil, ErrStorageSizeUnavailable
}

View File

@@ -448,7 +448,7 @@ func (*OsFs) Close() error {
return nil
}
// GetAvailableDiskSize return the available size for the specified path
// GetAvailableDiskSize returns the available size for the specified path
func (*OsFs) GetAvailableDiskSize(dirName string) (*sftp.StatVFS, error) {
return getStatFS(dirName)
}

View File

@@ -914,7 +914,7 @@ func (*S3Fs) Close() error {
return nil
}
// GetAvailableDiskSize return the available size for the specified path
// GetAvailableDiskSize returns the available size for the specified path
func (*S3Fs) GetAvailableDiskSize(dirName string) (*sftp.StatVFS, error) {
return nil, ErrStorageSizeUnavailable
}

View File

@@ -678,7 +678,7 @@ func (fs *SFTPFs) GetMimeType(name string) (string, error) {
return ctype, err
}
// GetAvailableDiskSize return the available size for the specified path
// GetAvailableDiskSize returns the available size for the specified path
func (fs *SFTPFs) GetAvailableDiskSize(dirName string) (*sftp.StatVFS, error) {
if err := fs.checkConnection(); err != nil {
return nil, err