Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DO NOT merge] Thin opensds #888

Closed
wants to merge 17 commits into from
Closed
Show file tree
Hide file tree
Changes from 12 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions examples/opensds.conf
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ beego_https_cert_file =
beego_https_key_file =
# Encryption and decryption tool. Default value is aes.
password_decrypt_tool = aes
# Choose "thin" for Thin OpenSDS and "full" for Full OpenSDS services
install_type = full

[osdslet]
api_endpoint = localhost:50049
Expand Down
2 changes: 1 addition & 1 deletion pkg/api/controllers/profile.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ func (p *ProfilePortal) CreateProfile() {
profile.ProvisioningProperties.DataStorage.StorageAccessCapability = []string{"Read", "Write", "Execute"}
}
}
if io := pp.IOConnectivity; io.IsEmpty(){
if io := pp.IOConnectivity; io.IsEmpty() {
if io.AccessProtocol == "" {
profile.ProvisioningProperties.IOConnectivity.AccessProtocol = "nfs"
}
Expand Down