Skip to content

Commit 5d03aae

Browse files
Gupta, SuryaGupta, Surya
authored andcommitted
CSTACKEX-31 Resolve Review Comments
1 parent 88bba44 commit 5d03aae

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

plugins/storage/volume/ontap/src/main/java/org/apache/cloudstack/storage/feign/client/VolumeFeignClient.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,15 @@
2323
import org.apache.cloudstack.storage.feign.model.Volume;
2424
import org.apache.cloudstack.storage.feign.model.response.JobResponse;
2525
import org.springframework.cloud.openfeign.FeignClient;
26+
import org.springframework.context.annotation.Lazy;
2627
import org.springframework.web.bind.annotation.PathVariable;
2728
import org.springframework.web.bind.annotation.RequestHeader;
2829
import org.springframework.web.bind.annotation.RequestMapping;
2930
import org.springframework.web.bind.annotation.RequestBody;
3031
import org.springframework.web.bind.annotation.RequestMethod;
3132

3233

34+
@Lazy
3335
@FeignClient(name = "VolumeClient", url = "https://{clusterIP}/api/storage/volumes", configuration = FeignConfiguration.class)
3436
public interface VolumeFeignClient {
3537

0 commit comments

Comments
 (0)