openstorage icon indicating copy to clipboard operation
openstorage copied to clipboard

Openstorage volume attach call needs attachOptions as Parameter?

Open ram-infrac opened this issue 6 years ago • 1 comments

Volume Create call accept passphrase and register it with spechandler, before calling Attach() we read the same and pass it as options to Attach call -

Attach(volumeID string, attachOptions map[string]string) (string, error)

While exposing this over grpc this will may or may not be case since Attach call can be separately called by grpc client while passing passphrase as argument.

So is it required that this options is always read from spechandler or not? If yes then we don't need option`` argument in Attach``` signature

ram-infrac avatar May 08 '18 09:05 ram-infrac

@lpabon

ram-infrac avatar May 08 '18 09:05 ram-infrac