You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
package zones |
|
|
|
import ( |
|
"darvaza.org/core" |
|
"github.com/gofrs/uuid/v5" |
|
) |
|
|
|
// GetCephFSID returns our Ceph's FSID |
|
func (m *Zones) GetCephFSID() (uuid.UUID, error) { |
|
if core.IsZero(m.CephFSID) { |
|
// TODO: generate one |
|
return uuid.Nil, nil |
|
} |
|
return m.CephFSID, nil |
|
}
|
|
|