github.com/cloud-foundations/dominator@v0.0.0-20221004181915-6e4fee580046/imageserver/rpcd/lib.go (about)

     1  package rpcd
     2  
     3  import (
     4  	"errors"
     5  )
     6  
     7  func (t *srpcType) checkMutability() error {
     8  	if t.replicationMaster != "" {
     9  		return errors.New(replicationMessage + t.replicationMaster)
    10  	}
    11  	return nil
    12  }