Skip to content

Commit aef1fc9

Browse files
committed
addressed comments
1 parent 6257bd1 commit aef1fc9

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

cmd/flagsValidation.go

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -320,10 +320,7 @@ func validateShareProtocolCompatibility(
320320
) error {
321321

322322
// We can ignore the error if we fail to get the share properties.
323-
shareProtocol, err := getShareProtocolType(ctx, serviceClient, resource, protocol)
324-
if err != nil {
325-
return err
326-
}
323+
shareProtocol, _ := getShareProtocolType(ctx, serviceClient, resource, protocol)
327324

328325
if shareProtocol == common.ELocation.File() {
329326
if isSource && fromTo.From() != common.ELocation.File() {

0 commit comments

Comments
 (0)