@@ -814,7 +814,7 @@ func (s *StorageProvisionerAPIv4) VolumeParams(ctx context.Context, args params.
814814 VolumeTag : tag .String (),
815815 MachineTag : volumeAttachment .Host ().String (),
816816 VolumeId : "" ,
817- InstanceId : string ( instanceId ),
817+ InstanceId : instanceId . String ( ),
818818 Provider : volumeParams .Provider ,
819819 ReadOnly : volumeAttachmentParams .ReadOnly ,
820820 }
@@ -1067,7 +1067,7 @@ func (s *StorageProvisionerAPIv4) VolumeAttachmentParams(
10671067 VolumeTag : volumeAttachment .Volume ().String (),
10681068 MachineTag : volumeAttachment .Host ().String (),
10691069 VolumeId : volumeId ,
1070- InstanceId : string ( instanceId ),
1070+ InstanceId : instanceId . String ( ),
10711071 Provider : string (providerType ),
10721072 ReadOnly : readOnly ,
10731073 }, nil
@@ -1156,7 +1156,7 @@ func (s *StorageProvisionerAPIv4) FilesystemAttachmentParams(
11561156 FilesystemTag : filesystemAttachment .Filesystem ().String (),
11571157 MachineTag : hostTag .String (),
11581158 FilesystemId : filesystemId ,
1159- InstanceId : string ( instanceId ),
1159+ InstanceId : instanceId . String ( ),
11601160 Provider : string (providerType ),
11611161 // TODO(axw) dealias MountPoint. We now have
11621162 // Path, MountPoint and Location in different
0 commit comments