feat: add cdnfly deployer
This commit is contained in:
@@ -38,7 +38,7 @@ var _ uploader.Uploader = (*UCloudUSSLUploader)(nil)
|
||||
|
||||
func New(config *UCloudUSSLUploaderConfig) (*UCloudUSSLUploader, error) {
|
||||
if config == nil {
|
||||
return nil, errors.New("config is nil")
|
||||
panic("config is nil")
|
||||
}
|
||||
|
||||
client, err := createSdkClient(config.PrivateKey, config.PublicKey)
|
||||
|
||||
Reference in New Issue
Block a user