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

Adding Storagepool tier datasource #259

Merged
Merged
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Addressed review comments
ABHISHEK-SINHA10 committed Nov 21, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 2dd0d83e791deea4f6ab8c692105dc94d95238fe
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (c) 2023-2024 Dell Inc., or its subsidiaries. All Rights Reserved.
Copyright (c) 2024 Dell Inc., or its subsidiaries. All Rights Reserved.
Licensed under the Mozilla Public License Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (c) 2023-2024 Dell Inc., or its subsidiaries. All Rights Reserved.
Copyright (c) 2024 Dell Inc., or its subsidiaries. All Rights Reserved.
Licensed under the Mozilla Public License Version 2.0 (the "License");
you may not use this file except in compliance with the License.
2 changes: 1 addition & 1 deletion powerscale/helper/storagepool_tier_helper.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (c) 2023-2024 Dell Inc., or its subsidiaries. All Rights Reserved.
Copyright (c) 2024 Dell Inc., or its subsidiaries. All Rights Reserved.
Licensed under the Mozilla Public License Version 2.0 (the "License");
you may not use this file except in compliance with the License.
3 changes: 1 addition & 2 deletions powerscale/provider/storagepool_tier_datasource.go
Original file line number Diff line number Diff line change
@@ -64,10 +64,9 @@ func (d StoragepoolTierDataSource) Schema(ctx context.Context, req datasource.Sc
"id": schema.StringAttribute{
Description: "Id of Storagepool tiers. Readonly. Fixed value of \"storagepool_tiers\"",
MarkdownDescription: "Id of Storagepool tiers. Readonly. Fixed value of \"storagepool_tiers\"",
Optional: false,
Required: false,
Computed: true,
}, // Need to created nested attributes
},
"storagepool_tiers": schema.ListNestedAttribute{
Description: "List of Storagepool tiers",
MarkdownDescription: "List of Storagepool tiers",