Skip to content

Commit 148cdc7

Browse files
committed
linuxkit: Fix types in linuxkit_image
1 parent beb0076 commit 148cdc7

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

linuxkit/data_source_image.go

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,25 +47,22 @@ func imageDataSource() *schema.Resource {
4747
Elem: &schema.Resource{
4848
Schema: map[string]*schema.Schema{
4949
"type": &schema.Schema{
50-
Type: schema.TypeList,
50+
Type: schema.TypeString,
5151
Description: "The mount kind",
5252
Required: true,
5353
ForceNew: true,
54-
Elem: &schema.Schema{Type: schema.TypeString},
5554
},
5655
"source": &schema.Schema{
57-
Type: schema.TypeList,
56+
Type: schema.TypeString,
5857
Description: "The source path of the mount",
5958
Optional: true,
6059
ForceNew: true,
61-
Elem: &schema.Schema{Type: schema.TypeString},
6260
},
6361
"destination": &schema.Schema{
64-
Type: schema.TypeList,
62+
Type: schema.TypeString,
6563
Description: "The destination path of the mount",
6664
Optional: true,
6765
ForceNew: true,
68-
Elem: &schema.Schema{Type: schema.TypeString},
6966
},
7067
"options": &schema.Schema{
7168
Type: schema.TypeList,

0 commit comments

Comments
 (0)